summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-iop.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-09-09 14:53:02 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-09-20 23:04:13 +0200
commitafc3b79f5dbddd4ab210beb9cc6da102a1032b89 (patch)
tree61efa3cbc92c0535deed9f9c6ceaaeb1a2c836c9 /drivers/gpio/gpio-iop.c
parent7111f8780fcf770d8624d758fd240e585adf7d3c (diff)
downloadop-kernel-dev-afc3b79f5dbddd4ab210beb9cc6da102a1032b89.zip
op-kernel-dev-afc3b79f5dbddd4ab210beb9cc6da102a1032b89.tar.gz
ARM: iop32x: read N2100 power key using gpiolib
Refrain from using the custom gpio_line_get() to read the power key on the N2100, use the gpiolib function gpio_get() instead. Also request the line in the GPIOs initicall, and move the poll timer setup to that inicall so the gpio chip is available before we request this GPIO and start to poll it. 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>
Diffstat (limited to 'drivers/gpio/gpio-iop.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud