diff options
| author | Trevor Gamblin <[email protected]> | 2024-06-17 13:50:19 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-06-25 20:04:48 +0000 |
| commit | 9ba22652b6ef6e9f5e6b68b927b1713fc309bfd5 (patch) | |
| tree | dc55c3f9da375dc21ab28edb3336f9ece6ea6186 /drivers/iio/trigger/stm32-timer-trigger.c | |
| parent | iio: proximity: sx9500: make use of regmap_clear_bits(), regmap_set_bits() (diff) | |
| download | kernel-9ba22652b6ef6e9f5e6b68b927b1713fc309bfd5.tar.gz kernel-9ba22652b6ef6e9f5e6b68b927b1713fc309bfd5.zip | |
iio: proximity: sx_common: make use of regmap_clear_bits(), regmap_set_bits()
Instead of using regmap_update_bits() and passing the mask twice, use
regmap_set_bits().
Instead of using regmap_update_bits() and passing val = 0, use
regmap_clear_bits().
Suggested-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions
