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

From: Nishad Kamdar
Date: Mon Jan 14 2019 - 09:55:21 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.

Chnages in v7:
- Combine the three patches together.
Changes in v6:
- Patchset now contains two patches as the patch
1 has been accepted.
- Changes mentioned in individual patches of the set.
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 | 152 +++++++++-------------
drivers/staging/greybus/arche-platform.c | 124 ++++++------------
drivers/staging/greybus/gpio.c | 156 ++---------------------
5 files changed, 113 insertions(+), 322 deletions(-)

--
2.17.1