diff options
author | Patrik Dahlström <risca@dalakolonin.se> | 2023-04-08 13:48:21 +0200 |
---|---|---|
committer | Jonathan Cameron <jonathan.cameron@huawei.com> | 2023-04-13 11:37:21 +0100 |
commit | 7501a3a97e4f000c1881f228132ead7a2fa5725c (patch) | |
tree | 41ab184a0b884dd3950a61ecf6d5216108ae14cb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d2ab4eea732dd2e235ba2a488344612a07a20334 (diff) |
iio: adc: palmas: use iio_event_direction for threshold polarity
Instead of having high_threshold > 0 as an indicator for upper threshold
event and lower threshold event otherwise, use enum iio_event_direction
instead. This is hopefully less ambiguous.
Signed-off-by: Patrik Dahlström <risca@dalakolonin.se>
Link: https://lore.kernel.org/r/20230408114825.824505-6-risca@dalakolonin.se
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