aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2019-05-30 20:39:32 +0200
committerChanwoo Choi <[email protected]>2019-07-24 19:20:19 +0900
commit8bc4810b435a3338346efd70e94c4d6fd0863635 (patch)
tree3cd5e74df0e1e47838cf2b9a8f0e4a3d48c3672d /tools/perf/scripts/python/netdev-times.py
parent7d2b02275e89d564ddb0ace09ef4aa9e2ac2973d (diff)
extcon: gpio: Request reasonable interrupts
The only thing that makes sense is to request a falling edge interrupt if the line is active low and a rising edge interrupt if the line is active high, so just do that and get rid of the assignment from platform data. The GPIO descriptor knows if the line is active high or low. Also make irq a local variable in probe(), it's not used anywhere else. Signed-off-by: Linus Walleij <[email protected]> [cw00.choi: Fix build error of data->irq_flags] Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions