gpio: iop: Use generic GPIO MMIO functions for driver
PATCH 1/1 gpio: iop: Use generic GPIO MMIO functions for driver
This patch switches the driver to use the generic GPIO MMIO functions that removes a bit of redundant and duplicate code.
---
Compile tested only.
Signed-off-by Alexander Shiyan <[email protected]>
--- drivers/gpio/Kconfig | 3 +- drivers/gpio/gpio-iop.c | 115 +++++++++--------------------------------------- 2 files changed, 24 insertions(+), 94 deletions(-)
drivers/gpio/Kconfig +2 -1
@@ -237,7 +237,8 @@ config GPIO_ICH config GPIO_IOP tristate "Intel IOP GPIO" - depends on ARM && (ARCH_IOP32X || ARCH_IOP33X) + depends on ARCH_IOP32X || ARCH_IOP33X || COMPILE_TEST + select GPIO_GENERIC help Say yes here to support the GPIO functionality of a number of Intel IOP32X or IOP33X.
drivers/gpio/gpio-iop.c +22 -93
133 lines not on this page · raw message
Signature · 1 line
2.7.3
Quoted 6 lines · Alexander Shiyan
This patch switches the driver to use the generic GPIO MMIO functions that removes a bit of redundant and duplicate code.
---
Compile tested only.Signed-off-by Alexander Shiyan <[email protected]>
I don't know if people using IOP exist for real.
If this doesn't work for them, I hope they turn up and greet us with a fix.
Patch applied.
Yours,
Linus Walleij