Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: nomadik: make core support explicitly non-modular

The Kconfig currently controlling compilation of this code is:

drivers/pinctrl/nomadik/Kconfig:config PINCTRL_NOMADIK
drivers/pinctrl/nomadik/Kconfig: bool "Nomadik pin controller driver"

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

Lets remove the couple traces of modular infrastructure use, so that
when reading the driver there is no doubt it is builtin-only.

We delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alessandro Rubini <rubini@unipv.it>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Paul Gortmaker and committed by
Linus Walleij
6d6cc0d8 8b51fad0

-5
-5
drivers/pinctrl/nomadik/pinctrl-nomadik.c
··· 11 11 * published by the Free Software Foundation. 12 12 */ 13 13 #include <linux/kernel.h> 14 - #include <linux/module.h> 15 14 #include <linux/init.h> 16 15 #include <linux/device.h> 17 16 #include <linux/platform_device.h> ··· 1982 1983 return platform_driver_register(&nmk_pinctrl_driver); 1983 1984 } 1984 1985 core_initcall(nmk_pinctrl_init); 1985 - 1986 - MODULE_AUTHOR("Prafulla WADASKAR and Alessandro Rubini"); 1987 - MODULE_DESCRIPTION("Nomadik GPIO Driver"); 1988 - MODULE_LICENSE("GPL");