diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2016-08-23 17:19:40 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-08-27 07:12:44 -0400 |
commit | 8b51fad0e975a913be6db1d3d06981232163d182 (patch) | |
tree | a795f2c374de971ffd0b0d9a9190393be7eedb47 | |
parent | 4394a639338bd5e0973d61294a69196cd580ab83 (diff) |
pinctrl: nomadik: make abx500 explicitly non-modular
The Kconfig currently controlling compilation of this code is:
config PINCTRL_ABX500
bool "ST-Ericsson ABx500 family Mixed Signal Circuit gpio functions"
...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.
Note that MODULE_ALIAS 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: Alessandro Rubini <rubini@unipv.it>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-abx500.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/pinctrl/nomadik/pinctrl-abx500.c b/drivers/pinctrl/nomadik/pinctrl-abx500.c index 7d343c22c90c..f95001bc1d58 100644 --- a/drivers/pinctrl/nomadik/pinctrl-abx500.c +++ b/drivers/pinctrl/nomadik/pinctrl-abx500.c | |||
@@ -4,6 +4,8 @@ | |||
4 | * Author: Patrice Chotard <patrice.chotard@st.com> | 4 | * Author: Patrice Chotard <patrice.chotard@st.com> |
5 | * License terms: GNU General Public License (GPL) version 2 | 5 | * License terms: GNU General Public License (GPL) version 2 |
6 | * | 6 | * |
7 | * Driver allows to use AxB5xx unused pins to be used as GPIO | ||
8 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License version 2 as | 10 | * it under the terms of the GNU General Public License version 2 as |
9 | * published by the Free Software Foundation. | 11 | * published by the Free Software Foundation. |
@@ -12,7 +14,6 @@ | |||
12 | #include <linux/types.h> | 14 | #include <linux/types.h> |
13 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
14 | #include <linux/init.h> | 16 | #include <linux/init.h> |
15 | #include <linux/module.h> | ||
16 | #include <linux/err.h> | 17 | #include <linux/err.h> |
17 | #include <linux/of.h> | 18 | #include <linux/of.h> |
18 | #include <linux/of_device.h> | 19 | #include <linux/of_device.h> |
@@ -1269,8 +1270,3 @@ static int __init abx500_gpio_init(void) | |||
1269 | return platform_driver_register(&abx500_gpio_driver); | 1270 | return platform_driver_register(&abx500_gpio_driver); |
1270 | } | 1271 | } |
1271 | core_initcall(abx500_gpio_init); | 1272 | core_initcall(abx500_gpio_init); |
1272 | |||
1273 | MODULE_AUTHOR("Patrice Chotard <patrice.chotard@st.com>"); | ||
1274 | MODULE_DESCRIPTION("Driver allows to use AxB5xx unused pins to be used as GPIO"); | ||
1275 | MODULE_ALIAS("platform:abx500-gpio"); | ||
1276 | MODULE_LICENSE("GPL v2"); | ||