On Fri, Jan 29, 2016 at 4:44 AM, Alban Bedel <al...@free.fr> 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 <al...@free.fr> > --- > 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 <acour...@nvidia.com>