aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2016-12-19 01:13:08 +0100
committerChanwoo Choi <[email protected]>2017-01-09 10:04:10 +0900
commit3fe1e0e2ab509863c1e9809a085508d8bce3e079 (patch)
tree9052aec883ac2d545a2fcf8c39127d718a75c494 /tools/perf/scripts/python/stackcollapse.py
parent1490d157e0759b12913cc0d3b734a03bbcb8cb61 (diff)
extcon: axp288: Simplify axp288_handle_chrg_det_event
axp288_handle_chrg_det_event only gets called on change interrupts (so not that often), extcon_set_state_sync() checks itself if there are any actual changes before notifying listeners, and gpiod_set_value is not really expensive either. So we can simply always do both on each interrupt removing a bunch of somewhat magic looking code from axp288_handle_chrg_det_event. Signed-off-by: Hans de Goede <[email protected]> Acked-by: Chanwoo Choi <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions