Re: [PATCH] drivers/pinctrl: make mediatek/pinctrl-mt8* driver explicitly non-modular

From: Linus Walleij
Date: Wed Jan 27 2016 - 09:00:25 EST

On Mon, Jan 4, 2016 at 6:44 PM, Paul Gortmaker
<paul.gortmaker@xxxxxxxxxxxxx> wrote:

> The Kconfig for these drivers are currently:
> config PINCTRL_MT8127
> bool "Mediatek MT8127 pin control" if COMPILE_TEST && !MACH_MT8127
> config PINCTRL_MT8135
> bool "Mediatek MT8135 pin control" if COMPILE_TEST && !MACH_MT8135
> config PINCTRL_MT8173
> bool "Mediatek MT8173 pin control"
> ...meaning that they are currently not being built as a module by anyone.
> Lets remove the modular code that is essentially orphaned, so that
> when reading the driver there is no doubt it is builtin-only.
> A recent commit moved these from module_init to arch_initcall already, so
> the init ordering remains untouched with this commit.
> We also delete the MODULE_LICENSE tag etc. since all that information
> is already contained at the top of the file in the comments.
> Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Cc: Daniel Kurtz <djkurtz@xxxxxxxxxxxx>
> Cc: Matthias Brugger <matthias.bgg@xxxxxxxxx>
> Cc: Hongzhou Yang <hongzhou.yang@xxxxxxxxxxxx>
> Cc: Yingjoe Chen <yingjoe.chen@xxxxxxxxxxxx>
> Cc: linux-gpio@xxxxxxxxxxxxxxx
> Cc: linux-mediatek@xxxxxxxxxxxxxxxxxxx
> Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>

Patch applied.

Sorry for delayed response...

Linus Walleij