diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2013-03-28 08:07:46 -0400 |
---|---|---|
committer | Alexandre Courbot <acourbot@nvidia.com> | 2013-04-16 05:47:19 -0400 |
commit | 7fd2bf3d325478e6715cce3ede7de641ff596183 (patch) | |
tree | 633484cf096ac914ed518f9d956bce767a568cab /arch | |
parent | 76ec9d18b8972f1b228f819f6126c9f022b3e642 (diff) |
Remove GENERIC_GPIO config option
GENERIC_GPIO has been made equivalent to GPIOLIB in architecture code
and all driver code has been switch to depend on GPIOLIB. It is thus
safe to have GENERIC_GPIO removed.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/Kconfig | 3 | ||||
-rw-r--r-- | arch/arm/Kconfig | 3 | ||||
-rw-r--r-- | arch/arm/plat-orion/gpio.c | 2 | ||||
-rw-r--r-- | arch/arm64/Kconfig | 3 | ||||
-rw-r--r-- | arch/avr32/Kconfig | 3 | ||||
-rw-r--r-- | arch/blackfin/Kconfig | 3 | ||||
-rw-r--r-- | arch/hexagon/Kconfig | 3 | ||||
-rw-r--r-- | arch/ia64/Kconfig | 3 | ||||
-rw-r--r-- | arch/m68k/Kconfig | 3 | ||||
-rw-r--r-- | arch/metag/Kconfig | 3 | ||||
-rw-r--r-- | arch/microblaze/Kconfig | 3 | ||||
-rw-r--r-- | arch/mips/Kconfig | 3 | ||||
-rw-r--r-- | arch/openrisc/Kconfig | 3 | ||||
-rw-r--r-- | arch/powerpc/Kconfig | 5 | ||||
-rw-r--r-- | arch/sh/Kconfig | 3 | ||||
-rw-r--r-- | arch/sparc/Kconfig | 5 | ||||
-rw-r--r-- | arch/unicore32/Kconfig | 3 | ||||
-rw-r--r-- | arch/x86/Kconfig | 3 | ||||
-rw-r--r-- | arch/xtensa/Kconfig | 3 |
19 files changed, 1 insertions, 59 deletions
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index 8a33ba01301f..282ff372a06e 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig | |||
@@ -56,9 +56,6 @@ config GENERIC_CALIBRATE_DELAY | |||
56 | bool | 56 | bool |
57 | default y | 57 | default y |
58 | 58 | ||
59 | config GENERIC_GPIO | ||
60 | bool | ||
61 | |||
62 | config ZONE_DMA | 59 | config ZONE_DMA |
63 | bool | 60 | bool |
64 | default y | 61 | default y |
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 13b739469c51..ceac9a43da7d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -107,9 +107,6 @@ config MIGHT_HAVE_PCI | |||
107 | config SYS_SUPPORTS_APM_EMULATION | 107 | config SYS_SUPPORTS_APM_EMULATION |
108 | bool | 108 | bool |
109 | 109 | ||
110 | config GENERIC_GPIO | ||
111 | bool | ||
112 | |||
113 | config HAVE_TCM | 110 | config HAVE_TCM |
114 | bool | 111 | bool |
115 | select GENERIC_ALLOCATOR | 112 | select GENERIC_ALLOCATOR |
diff --git a/arch/arm/plat-orion/gpio.c b/arch/arm/plat-orion/gpio.c index c29ee7ea200b..59ddf4d0aca9 100644 --- a/arch/arm/plat-orion/gpio.c +++ b/arch/arm/plat-orion/gpio.c | |||
@@ -150,7 +150,7 @@ err_out: | |||
150 | } | 150 | } |
151 | 151 | ||
152 | /* | 152 | /* |
153 | * GENERIC_GPIO primitives. | 153 | * GPIO primitives. |
154 | */ | 154 | */ |
155 | static int orion_gpio_request(struct gpio_chip *chip, unsigned pin) | 155 | static int orion_gpio_request(struct gpio_chip *chip, unsigned pin) |
156 | { | 156 | { |
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 9b6d19f74078..e6e700740b7e 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig | |||
@@ -92,9 +92,6 @@ config SWIOTLB | |||
92 | config IOMMU_HELPER | 92 | config IOMMU_HELPER |
93 | def_bool SWIOTLB | 93 | def_bool SWIOTLB |
94 | 94 | ||
95 | config GENERIC_GPIO | ||
96 | bool | ||
97 | |||
98 | source "init/Kconfig" | 95 | source "init/Kconfig" |
99 | 96 | ||
100 | source "kernel/Kconfig.freezer" | 97 | source "kernel/Kconfig.freezer" |
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig index d22c6b46601c..ff775b8e3228 100644 --- a/arch/avr32/Kconfig +++ b/arch/avr32/Kconfig | |||
@@ -26,9 +26,6 @@ config AVR32 | |||
26 | There is an AVR32 Linux project with a web page at | 26 | There is an AVR32 Linux project with a web page at |
27 | http://avr32linux.org/. | 27 | http://avr32linux.org/. |
28 | 28 | ||
29 | config GENERIC_GPIO | ||
30 | def_bool n | ||
31 | |||
32 | config STACKTRACE_SUPPORT | 29 | config STACKTRACE_SUPPORT |
33 | def_bool y | 30 | def_bool y |
34 | 31 | ||
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 20e203aef0fe..71dd50b7c13a 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -55,9 +55,6 @@ config GENERIC_BUG | |||
55 | config ZONE_DMA | 55 | config ZONE_DMA |
56 | def_bool y | 56 | def_bool y |
57 | 57 | ||
58 | config GENERIC_GPIO | ||
59 | def_bool n | ||
60 | |||
61 | config FORCE_MAX_ZONEORDER | 58 | config FORCE_MAX_ZONEORDER |
62 | int | 59 | int |
63 | default "14" | 60 | default "14" |
diff --git a/arch/hexagon/Kconfig b/arch/hexagon/Kconfig index e4decc6b8947..21d6ba9782e5 100644 --- a/arch/hexagon/Kconfig +++ b/arch/hexagon/Kconfig | |||
@@ -170,9 +170,6 @@ source "mm/Kconfig" | |||
170 | 170 | ||
171 | source "kernel/Kconfig.hz" | 171 | source "kernel/Kconfig.hz" |
172 | 172 | ||
173 | config GENERIC_GPIO | ||
174 | def_bool n | ||
175 | |||
176 | endmenu | 173 | endmenu |
177 | 174 | ||
178 | source "init/Kconfig" | 175 | source "init/Kconfig" |
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 9a02f71c6b1f..38ef339190ee 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -101,9 +101,6 @@ config GENERIC_CALIBRATE_DELAY | |||
101 | config HAVE_SETUP_PER_CPU_AREA | 101 | config HAVE_SETUP_PER_CPU_AREA |
102 | def_bool y | 102 | def_bool y |
103 | 103 | ||
104 | config GENERIC_GPIO | ||
105 | bool | ||
106 | |||
107 | config DMI | 104 | config DMI |
108 | bool | 105 | bool |
109 | default y | 106 | default y |
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 6de813370b8c..821170e5f6ed 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig | |||
@@ -35,9 +35,6 @@ config ARCH_HAS_ILOG2_U32 | |||
35 | config ARCH_HAS_ILOG2_U64 | 35 | config ARCH_HAS_ILOG2_U64 |
36 | bool | 36 | bool |
37 | 37 | ||
38 | config GENERIC_GPIO | ||
39 | bool | ||
40 | |||
41 | config GENERIC_HWEIGHT | 38 | config GENERIC_HWEIGHT |
42 | bool | 39 | bool |
43 | default y | 40 | default y |
diff --git a/arch/metag/Kconfig b/arch/metag/Kconfig index afc8973d1488..0e97f5c50ff4 100644 --- a/arch/metag/Kconfig +++ b/arch/metag/Kconfig | |||
@@ -54,9 +54,6 @@ config GENERIC_HWEIGHT | |||
54 | config GENERIC_CALIBRATE_DELAY | 54 | config GENERIC_CALIBRATE_DELAY |
55 | def_bool y | 55 | def_bool y |
56 | 56 | ||
57 | config GENERIC_GPIO | ||
58 | def_bool n | ||
59 | |||
60 | config NO_IOPORT | 57 | config NO_IOPORT |
61 | def_bool y | 58 | def_bool y |
62 | 59 | ||
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 1323fa2530eb..4fb682a7d4e9 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig | |||
@@ -56,9 +56,6 @@ config GENERIC_HWEIGHT | |||
56 | config GENERIC_CALIBRATE_DELAY | 56 | config GENERIC_CALIBRATE_DELAY |
57 | def_bool y | 57 | def_bool y |
58 | 58 | ||
59 | config GENERIC_GPIO | ||
60 | bool | ||
61 | |||
62 | config GENERIC_CSUM | 59 | config GENERIC_CSUM |
63 | def_bool y | 60 | def_bool y |
64 | 61 | ||
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index ff0e563206cf..539398179584 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -1004,9 +1004,6 @@ config GENERIC_ISA_DMA_SUPPORT_BROKEN | |||
1004 | config ISA_DMA_API | 1004 | config ISA_DMA_API |
1005 | bool | 1005 | bool |
1006 | 1006 | ||
1007 | config GENERIC_GPIO | ||
1008 | bool | ||
1009 | |||
1010 | config HOLES_IN_ZONE | 1007 | config HOLES_IN_ZONE |
1011 | bool | 1008 | bool |
1012 | 1009 | ||
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index e32440268899..6c404eee9901 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig | |||
@@ -44,9 +44,6 @@ config GENERIC_HWEIGHT | |||
44 | config NO_IOPORT | 44 | config NO_IOPORT |
45 | def_bool y | 45 | def_bool y |
46 | 46 | ||
47 | config GENERIC_GPIO | ||
48 | def_bool n | ||
49 | |||
50 | config TRACE_IRQFLAGS_SUPPORT | 47 | config TRACE_IRQFLAGS_SUPPORT |
51 | def_bool y | 48 | def_bool y |
52 | 49 | ||
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index ea5bb045983a..9c5bc6882e08 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -82,11 +82,6 @@ config GENERIC_HWEIGHT | |||
82 | bool | 82 | bool |
83 | default y | 83 | default y |
84 | 84 | ||
85 | config GENERIC_GPIO | ||
86 | bool | ||
87 | help | ||
88 | Generic GPIO API support | ||
89 | |||
90 | config PPC | 85 | config PPC |
91 | bool | 86 | bool |
92 | default y | 87 | default y |
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 5e859633ce69..f9391a692ef6 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -92,9 +92,6 @@ config GENERIC_CSUM | |||
92 | config GENERIC_HWEIGHT | 92 | config GENERIC_HWEIGHT |
93 | def_bool y | 93 | def_bool y |
94 | 94 | ||
95 | config GENERIC_GPIO | ||
96 | def_bool n | ||
97 | |||
98 | config GENERIC_CALIBRATE_DELAY | 95 | config GENERIC_CALIBRATE_DELAY |
99 | bool | 96 | bool |
100 | 97 | ||
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 3d361f236308..90b3a0f66d90 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig | |||
@@ -135,11 +135,6 @@ config GENERIC_ISA_DMA | |||
135 | bool | 135 | bool |
136 | default y if SPARC32 | 136 | default y if SPARC32 |
137 | 137 | ||
138 | config GENERIC_GPIO | ||
139 | bool | ||
140 | help | ||
141 | Generic GPIO API support | ||
142 | |||
143 | config ARCH_SUPPORTS_DEBUG_PAGEALLOC | 138 | config ARCH_SUPPORTS_DEBUG_PAGEALLOC |
144 | def_bool y if SPARC64 | 139 | def_bool y if SPARC64 |
145 | 140 | ||
diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig index 468cd706be1d..41bcc0013442 100644 --- a/arch/unicore32/Kconfig +++ b/arch/unicore32/Kconfig | |||
@@ -23,9 +23,6 @@ config UNICORE32 | |||
23 | designs licensed by PKUnity Ltd. | 23 | designs licensed by PKUnity Ltd. |
24 | Please see web page at <http://www.pkunity.com/>. | 24 | Please see web page at <http://www.pkunity.com/>. |
25 | 25 | ||
26 | config GENERIC_GPIO | ||
27 | bool | ||
28 | |||
29 | config GENERIC_CSUM | 26 | config GENERIC_CSUM |
30 | def_bool y | 27 | def_bool y |
31 | 28 | ||
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 70c0f3da0476..a6298c20c6ce 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -172,9 +172,6 @@ config GENERIC_BUG_RELATIVE_POINTERS | |||
172 | config GENERIC_HWEIGHT | 172 | config GENERIC_HWEIGHT |
173 | def_bool y | 173 | def_bool y |
174 | 174 | ||
175 | config GENERIC_GPIO | ||
176 | bool | ||
177 | |||
178 | config ARCH_MAY_HAVE_PC_FDC | 175 | config ARCH_MAY_HAVE_PC_FDC |
179 | def_bool y | 176 | def_bool y |
180 | depends on ISA_DMA_API | 177 | depends on ISA_DMA_API |
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index b09de49dbec5..acdfc615cca2 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig | |||
@@ -33,9 +33,6 @@ config RWSEM_XCHGADD_ALGORITHM | |||
33 | config GENERIC_HWEIGHT | 33 | config GENERIC_HWEIGHT |
34 | def_bool y | 34 | def_bool y |
35 | 35 | ||
36 | config GENERIC_GPIO | ||
37 | bool | ||
38 | |||
39 | config ARCH_HAS_ILOG2_U32 | 36 | config ARCH_HAS_ILOG2_U32 |
40 | def_bool n | 37 | def_bool n |
41 | 38 | ||