aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2021-03-14 18:14:50 +0000
committerJonathan Cameron <[email protected]>2021-04-07 08:36:35 +0100
commit0c4c4a868ab4af5886d070379b5964d1e0835c19 (patch)
tree3525ff3a5ae7bd62da97093afbd23f673bd1fe76 /tools/perf/scripts/python/bin
parent1a17e7cbbffaac98ac62bf0fa5b6eb2f65fb5ade (diff)
staging:iio:cdc:ad7150: Refactor event parameter update
Original code was ordered in a fairly unituitive fashion with the non adaptive threshold handling returning from the switch statement, whilst the adapative path did the actual writes outside the switch. Make it more readable by bringing everything within the switch statement cases and reducing scope of local variables as appropriate. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Alexandru Ardelean <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions