]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: sh-pfc: make explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 29 Feb 2016 20:48:40 +0000 (15:48 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 9 Mar 2016 03:23:19 +0000 (10:23 +0700)
commit6cc38602b5e0d821bd1c66e031fe3beb7eaee0f9
tree027b5d02e1dbbba4b98b54e665adbce337d56f6f
parentb06b8eb7f74a9e2b6656b59a3b03439b5dbb62f8
pinctrl: sh-pfc: make explicitly non-modular

The Kconfig / Makefile currently controlling compilation of this code is:

drivers/pinctrl/sh-pfc/Makefile:obj-$(CONFIG_PINCTRL_SH_PFC)    += sh-pfc.o
drivers/pinctrl/sh-pfc/Makefile:sh-pfc-objs                     = core.o pinctrl.o

drivers/pinctrl/sh-pfc/Kconfig:config PINCTRL_SH_PFC
drivers/pinctrl/sh-pfc/Kconfig: def_bool y

...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 already wasn't being used in this code, 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: linux-renesas-soc@vger.kernel.org
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sh-pfc/core.c