summaryrefslogtreecommitdiff
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-08-22 22:41:08 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-08-29 09:08:58 +0200
commit51ba88e32ff5b3caee39862c862a7a1fbae78b2b (patch)
treecd492ae971b4c185e34f6489b810c0cd358ccad6 /.get_maintainer.ignore
parentfd935fc421e74b9777370a0175bc011b780173d3 (diff)
downloadlwn-51ba88e32ff5b3caee39862c862a7a1fbae78b2b.tar.gz
lwn-51ba88e32ff5b3caee39862c862a7a1fbae78b2b.zip
gpio: ep93xx: Use the hwirq and port
In the IRQ-related functions, switch to using the hwirq and port number found from the current struct gpio_chip * As the lower 3 bits of the IRQ number is identical to the lower 3 bits of the GPIO number we can cut some corners. Call directly into the gpiochip to set up the direction and read the input instead of using the consumer API. This enabled us to cut the confusing irq_to_gpio() macro that is a remnant of the old generic GPIO API as well. Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions