aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2018-08-22 22:41:08 +0200
committerLinus Walleij <[email protected]>2018-08-29 09:08:58 +0200
commit51ba88e32ff5b3caee39862c862a7a1fbae78b2b (patch)
treecd492ae971b4c185e34f6489b810c0cd358ccad6 /tools/perf/scripts/python
parentfd935fc421e74b9777370a0175bc011b780173d3 (diff)
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 <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions