summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2021-09-21 13:53:59 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-10-19 08:27:33 +0100
commitc5a396298248238e4530e9351719b93b94e5b009 (patch)
treead5c59bdfb9ce6c4dea8140d0e172d8caa49c233 /tools/perf/scripts/python/export-to-postgresql.py
parenteaf57d50c675eb52bae6531e336a31677fd028de (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 <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/r/20210921115408.66711-8-miquel.raynal@bootlin.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions