diff mbox

[v2,46/63] gpio: stmpe: Move dependencies to a single line

Message ID 1459877980-31872-7-git-send-email-alexanders83@web.de
State New
Headers show

Commit Message

Alexander Stein April 5, 2016, 5:39 p.m. UTC
It's easier to add a simple || COMPILE_TEST whis way.

Signed-off-by: Alexander Stein <alexanders83@web.de>
---
 drivers/gpio/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 6a580fcd51c0..5bd23e7124ef 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -883,8 +883,7 @@  config GPIO_RC5T583
 
 config GPIO_STMPE
 	bool "STMPE GPIOs"
-	depends on MFD_STMPE
-	depends on OF_GPIO
+	depends on MFD_STMPE && OF_GPIO
 	select GPIOLIB_IRQCHIP
 	help
 	  This enables support for the GPIOs found on the STMPE I/O