diff options
author | Patrik Dahlström <[email protected]> | 2023-04-08 13:48:21 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2023-04-13 11:37:21 +0100 |
commit | 7501a3a97e4f000c1881f228132ead7a2fa5725c (patch) | |
tree | 41ab184a0b884dd3950a61ecf6d5216108ae14cb /drivers/fpga/fpga-bridge.c | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions