gpio: zx: make explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 27 Mar 2016 15:44:49 +0000 (11:44 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 31 Mar 2016 13:10:25 +0000 (15:10 +0200)
commit18fb0a981e18b91c6eb1a00f8b06f2fb5be2e9aa
tree350600d7db0fe4ca84e6a6216896bdd3bcf478e3
parentb33d12d3d72df3272c9c017cd93577ba1c9b24bb
gpio: zx: make explicitly non-modular

The Kconfig currently controlling compilation of this code is:

config GPIO_ZX
        bool "ZTE ZX 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.

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
was (or is now) contained at the top of the file in the comments.

Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Jun Nie <jun.nie@linaro.org>
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-zx.c