gpio: decouple the IOP GPIO driver from platform
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 9 Sep 2013 13:00:40 +0000 (15:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 20 Sep 2013 21:04:28 +0000 (23:04 +0200)
commitf6ffa5ee039cd0168d82e3edd712ebbb1de93a00
tree11d5146f0880949f9f01eddd16fa05262b17c3a9
parentafc3b79f5dbddd4ab210beb9cc6da102a1032b89
gpio: decouple the IOP GPIO driver from platform

This removes the only dependence between the IOP GPIO
driver and the GENERIC_GPIO header in <mach/gpio.h>
and its common implementation in the <asm/*> namespace
by copying the one constant it is using into the driver
file.

Cc: Lennert Buytenhek <kernel@wantstofly.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Mikael Pettersson <mikpe@it.uu.se>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-iop.c