[PATCH v5 0/3] greybus: gpio: Switch to the gpio descriptor interface

From: Nishad Kamdar
Date: Thu Jan 10 2019 - 12:49:28 EST


This patch series converts uses of the old GPIO API to the GPIO
descriptor API. It also converts the GPIO driver to use the
GPIO irqchip library GPIOLIB_IRQCHIP instead of repimplementing
the same.

Changes in v5:
- Drop the patch which uses gpiochip_get_data() in place of
gpio_chip_to_gb_gpio_controller() as of now.
- This is because it currently breaks the driver, since
gpiochip_add() sets the data pointer to NULL.
Changes in v4:
- Changes mentioned in individual patches of the set.
Changes in v3:
- Combines the latest versions of the three greybus patches together
in a patch series.

Nishad Kamdar (3):
staging: greybus: gpio: switch GPIO portions to use GPIOLIB_IRQCHIP
staging: greybus: arche-apb-ctrl.c: Switch to the gpio descriptor
interface
staging: greybus: arche-platform: Switch to the gpio descriptor
interface

drivers/staging/greybus/Kconfig | 1 +
drivers/staging/greybus/TODO | 2 -
drivers/staging/greybus/arche-apb-ctrl.c | 154 +++++++++-------------
drivers/staging/greybus/arche-platform.c | 124 ++++++------------
drivers/staging/greybus/gpio.c | 156 ++---------------------
5 files changed, 115 insertions(+), 322 deletions(-)

--
2.17.1