pinctrl: imx6sl: make it explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2016 02:46:45 +0000 (22:46 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Jun 2016 07:50:10 +0000 (09:50 +0200)
commitc621e070bffb55c3acc4fe166e65afc355600165
tree5b74ffc3c0070327665845b80bf9df5f16e06fd5
parent4abaa3c2d9c2ba91941904514792c524fab5b068
pinctrl: imx6sl: make it explicitly non-modular

The Kconfig currently controlling compilation of this code is:

drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX6SL
drivers/pinctrl/freescale/Kconfig: bool "IMX6SL pinctrl driver"

...meaning that it currently is 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.

Since module_init was not in use by this 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: Linus Walleij <linus.walleij@linaro.org>
Cc: Shawn Guo <shawn.guo@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/pinctrl/freescale/pinctrl-imx6sl.c