linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers/gpio/Kconfig: remove redundant depends on GPIOLIB
@ 2011-05-13 18:37 H Hartley Sweeten
  2011-05-15 21:27 ` Grant Likely
  0 siblings, 1 reply; 2+ messages in thread
From: H Hartley Sweeten @ 2011-05-13 18:37 UTC (permalink / raw)
  To: Linux Kernel; +Cc: grant.likely

Since all the drivers are in a 'if GPIOLIB/endif block', the depends on GPIOLIB
is redundant so remove them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Grant Likely <grant.likely@secretlab.ca>

---

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index b7fac15..fe12959 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -77,7 +77,6 @@ config GPIO_BASIC_MMIO
 
 config GPIO_IT8761E
 	tristate "IT8761E GPIO support"
-	depends on GPIOLIB
 	help
 	  Say yes here to support GPIO functionality of IT8761E super I/O chip.
 
@@ -101,7 +100,7 @@ config GPIO_VR41XX
 
 config GPIO_SCH
 	tristate "Intel SCH/TunnelCreek GPIO"
-	depends on GPIOLIB && PCI && X86
+	depends on PCI && X86
 	select MFD_CORE
 	select LPC_SCH
 	help
@@ -121,7 +120,7 @@ config GPIO_SCH
 
 config GPIO_U300
 	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
-	depends on GPIOLIB && ARCH_U300
+	depends on ARCH_U300
 	help
 	  Say yes here to support GPIO interface on ST-Ericsson U300.
 	  The names of the two IP block variants supported are
@@ -130,7 +129,7 @@ config GPIO_U300
 
 config GPIO_NOMADIK
 	bool "ST-Ericsson Nomadik GPIO"
-	depends on GPIOLIB && (ARCH_U8500 || ARCH_NOMADIK)
+	depends on ARCH_U8500 || ARCH_NOMADIK
 	help
 	  Say yes here to support GPIO interface for ST-Ericsson Nomadik.
 	  This is found in the Nomadik NHK8815, DB8500, DB5500 SoCs
@@ -138,7 +137,7 @@ config GPIO_NOMADIK
 
 config GPIO_VX855
 	tristate "VIA VX855/VX875 GPIO"
-	depends on GPIOLIB && MFD_SUPPORT && PCI
+	depends on MFD_SUPPORT && PCI
 	select MFD_CORE
 	select MFD_VX855
 	help
@@ -364,13 +363,13 @@ config GPIO_ML_IOH
 
 config GPIO_TIMBERDALE
 	bool "Support for timberdale GPIO IP"
-	depends on MFD_TIMBERDALE && GPIOLIB && HAS_IOMEM
+	depends on MFD_TIMBERDALE && HAS_IOMEM
 	---help---
 	Add support for the GPIO IP in the timberdale FPGA.
 
 config GPIO_RDC321X
 	tristate "RDC R-321x GPIO support"
-	depends on PCI && GPIOLIB
+	depends on PCI
 	select MFD_SUPPORT
 	select MFD_CORE
 	select MFD_RDC321X

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drivers/gpio/Kconfig: remove redundant depends on GPIOLIB
  2011-05-13 18:37 [PATCH] drivers/gpio/Kconfig: remove redundant depends on GPIOLIB H Hartley Sweeten
@ 2011-05-15 21:27 ` Grant Likely
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2011-05-15 21:27 UTC (permalink / raw)
  To: H Hartley Sweeten; +Cc: Linux Kernel

On Fri, May 13, 2011 at 11:37:28AM -0700, H Hartley Sweeten wrote:
> Since all the drivers are in a 'if GPIOLIB/endif block', the depends on GPIOLIB
> is redundant so remove them.
> 
> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
> Cc: Grant Likely <grant.likely@secretlab.ca>

Merged, thanks.

g.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-16  3:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-13 18:37 [PATCH] drivers/gpio/Kconfig: remove redundant depends on GPIOLIB H Hartley Sweeten
2011-05-15 21:27 ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).