Re: [PATCH 1/5] gpio: ath79: Move to the generic GPIO driver

From: Alexandre Courbot
Date: Sun Feb 07 2016 - 21:58:38 EST


On Fri, Jan 29, 2016 at 4:44 AM, Alban Bedel <albeu@xxxxxxx> wrote:
> Drop most of the code in favor of the generic MMIO GPIO driver.
> As the driver now depend on CONFIG_GPIO_GENERIC also add a Kconfig
> entry to make the driver optional.
>
> We leave the base pointer and lock in the data struct because they are
> needed for the IRQ support.
>
> Signed-off-by: Alban Bedel <albeu@xxxxxxx>
> ---
> drivers/gpio/Kconfig | 9 ++++
> drivers/gpio/Makefile | 2 +-
> drivers/gpio/gpio-ath79.c | 126 ++++++----------------------------------------
> 3 files changed, 24 insertions(+), 113 deletions(-)

Nice, much less code!

Acked-by: Alexandre Courbot <acourbot@xxxxxxxxxx>