]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: sunxi: make sun5i explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 2 Feb 2017 20:17:40 +0000 (15:17 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 6 Feb 2017 10:28:22 +0000 (11:28 +0100)
commitd75bdb7cd16877b90086e9fdb2f722beea109630
tree835384f134a8167fed798eda58f0a0ee44627887
parentb0c1840596734b6ebe19184cefac9103e7af9cba
pinctrl: sunxi: make sun5i explicitly non-modular

We had all these corrected in commit 927a130533bc ("pinctrl: sunxi:
make bool drivers explicitly non-modular") but this new one recently
crept in.

The Kconfig currently controlling compilation of this code is:

   drivers/pinctrl/sunxi/Kconfig:config PINCTRL_SUN5I
   drivers/pinctrl/sunxi/Kconfig:  def_bool MACH_SUN5I

...meaning that it currently is not being built as a module by anyone.

Lets remove the couple traces of modular infrastructure use, so that
when reading the driver there is no doubt it is builtin-only.

Since module_platform_driver() uses the same init level priority as
builtin_platform_driver() the init ordering remains unchanged with
this commit.

Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

We also delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sun5i.c