summaryrefslogtreecommitdiff
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2024-06-17 16:50:19 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-06-25 23:04:48 +0300
commit9ba22652b6ef6e9f5e6b68b927b1713fc309bfd5 (patch)
treedc55c3f9da375dc21ab28edb3336f9ece6ea6186 /drivers/iio/trigger/stm32-timer-trigger.c
parent734ecf98311e6f984367eb760db5f84cef645511 (diff)
downloadlinux-9ba22652b6ef6e9f5e6b68b927b1713fc309bfd5.tar.xz
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 <u.kleine-koenig@baylibre.com> Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/20240617-review-v3-39-88d1338c4cca@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions