]> git.karo-electronics.de Git - linux-beck.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)
commita43647b6d8f43b1dab717a90c2b8fe2b34129b41
tree027b5d02e1dbbba4b98b54e665adbce337d56f6f
parent2496eb3205d404a9c65ac272fb6c464a0e266b2c
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