[PATCH 1/2] pinctrl: bcm: Move MODULE_DEVICE_TABLE next to the table itself
Linus Walleij
linusw at kernel.org
Tue May 5 05:56:23 PDT 2026
On Tue, May 5, 2026 at 11:43 AM Krzysztof Kozlowski
<krzysztof.kozlowski at oss.qualcomm.com> wrote:
> By convention MODULE_DEVICE_TABLE() immediately follows the ID table it
> exports, because this is easier to read and verify. It also makes more
> sense since #ifdef for ACPI or OF could hide both of them.
>
> Most of the pin controller drivers already have this correctly placed,
> so adjust the other drivers. No functional impact.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
Patch applied.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list