Home
last modified time | relevance | path

Searched hist:"734 ecf98311e6f984367eb760db5f84cef645511" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/proximity/
H A Dsx9500.cdiff 734ecf98311e6f984367eb760db5f84cef645511 Mon Jun 17 15:50:18 CEST 2024 Trevor Gamblin <tgamblin@baylibre.com> iio: proximity: sx9500: 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-38-88d1338c4cca@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>