Skip to contentSkip to conversation

greybus: gpio: switch GPIO portions to use GPIOLIB_IRQCHIP

PATCH New Nishad Kamdar 1 participant 1 message Oct 31, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 greybus: gpio: switch GPIO portions to use GPIOLIB_IRQCHIP

Convert the GPIO driver to use the GPIO irqchip library GPIOLIB_IRQCHIP instead of reimplementing the same.

---
 drivers/staging/greybus/Kconfig |   1 +
 drivers/staging/greybus/gpio.c  | 123 ++++++--------------------------
 2 files changed, 21 insertions(+), 103 deletions(-)
drivers/staging/greybus/Kconfig +1 -0
index ab096bcef98c..b571e4e8060b 100644
@@ -148,6 +148,7 @@ if GREYBUS_BRIDGED_PHY
 config GREYBUS_GPIO
 	tristate "Greybus GPIO Bridged PHY driver"
 	depends on GPIOLIB
+	select GPIOLIB_IRQCHIP
 	---help---
 	  Select this option if you have a device that follows the
 	  Greybus GPIO Bridged PHY Class specification.
drivers/staging/greybus/gpio.c +20 -103

199 lines not on this page · raw message

Signature · 1 line
2.17.1