gpio: ath79: Convert to the state container design pattern
authorAlban Bedel <albeu@free.fr>
Tue, 1 Sep 2015 09:38:02 +0000 (11:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 2 Oct 2015 11:19:34 +0000 (04:19 -0700)
commit49a5bd880cb63fba9f4589a89d68b8a255062a5f
treef12f92794dd79ebc14282bf8c49b27b2048c3ed9
parent9f3538280301bb953bf159d5ce9fc1f41482aa4c
gpio: ath79: Convert to the state container design pattern

Turn the ath79 driver into a true driver supporting multiple
instances. While at it also removed unneed includes and make use of
the BIT() macro.

Signed-off-by: Alban Bedel <albeu@free.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-ath79.c