Skip to contentSkip to conversation

gpio: amdpt: Convert to use gpio-generic

PATCH In review Axel Lin 2 participants 3 messages Feb 29, 2016 – Mar 22, 2016 GPIO

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 gpio: amdpt: Convert to use gpio-generic

Use gpio-generic to simplify this driver.

---
Hi YD,
I don't have this h/w for test.
I'd appreciate if you can help to review and test this patch. Thanks.

 drivers/gpio/Kconfig      |   1 +
 drivers/gpio/gpio-amdpt.c | 122 ++++++----------------------------------------
 2 files changed, 15 insertions(+), 108 deletions(-)
drivers/gpio/Kconfig +1 -0
index 1118fef..32188f6 100644
@@ -122,6 +122,7 @@ config GPIO_ALTERA
 config GPIO_AMDPT
 	tristate "AMD Promontory GPIO support"
 	depends on ACPI
+	select GPIO_GENERIC
 	help
 	  driver for GPIO functionality on Promontory IOHub
 	  Require ACPI ASL code to enumerate as a platform device.
drivers/gpio/gpio-amdpt.c +14 -108

169 lines not on this page · raw message

Signature · 1 line
2.1.4
#1 lore raw
Quoted 7 lines · Axel Lin

Use gpio-generic to simplify this driver.

---
Hi YD,
I don't have this h/w for test.
I'd appreciate if you can help to review and test this patch.

Adding some random people working with AMD hardware to the
To: line.

If noone provides a test tag I will anyway merge this patch, they can find out any problems the hard way if they are not reading their mails.

Yours,
Linus Walleij