diff options
| author | Miquel Raynal <[email protected]> | 2021-09-21 13:53:59 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-10-19 08:27:33 +0100 |
| commit | c5a396298248238e4530e9351719b93b94e5b009 (patch) | |
| tree | ad5c59bdfb9ce6c4dea8140d0e172d8caa49c233 /tools/perf/scripts/python/flamegraph.py | |
| parent | eaf57d50c675eb52bae6531e336a31677fd028de (diff) | |
iio: adc: max1027: Simplify the _set_trigger_state() helper
The call to max1027_enable_trigger() is the same in both cases thanks to
the 'state' variable, so factorize a little bit to simplify the code and
explain why we call this helper.
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions