]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: sta2x11: make explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 27 Mar 2016 15:44:47 +0000 (11:44 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 31 Mar 2016 13:07:40 +0000 (15:07 +0200)
commitad9b0ee56210d9c260932c8d1f4667ddd74633ac
tree6101641852aeb2053370b33d664f19be404fd764
parent8023733bb3d6ce4e3b33e6ef5a58516a77e9c2a1
gpio: sta2x11: make explicitly non-modular

The Kconfig currently controlling compilation of this code is:

drivers/gpio/Kconfig:config GPIO_STA2X11
drivers/gpio/Kconfig:   bool "STA2x11/ConneXt GPIO support"

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

Lets remove the couple traces of modularity, 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.

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: Alexandre Courbot <gnurou@gmail.com>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-sta2x11.c