linux/drivers/iio/proximity
Trevor Gamblin 9ba22652b6 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>
2024-06-25 21:04:48 +01:00
..
as3935.c iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
cros_ec_mkbp_proximity.c iio: proximity: cros_ec_mkbp: Convert to platform remove callback returning void 2023-09-23 15:06:56 +01:00
irsd200.c iio: proximity: irsd200: Drop unused include 2023-12-04 13:24:42 +00:00
isl29501.c iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00
Kconfig iio: Add driver for Murata IRS-D200 2023-07-23 13:21:54 +01:00
Makefile iio: Add driver for Murata IRS-D200 2023-07-23 13:21:54 +01:00
mb1232.c iio: mb1232: relax return value check for IRQ get 2023-08-01 18:55:46 +01:00
ping.c iio: proximity: ping: fix typo in comment 2022-06-11 14:35:27 +01:00
pulsedlight-lidar-lite-v2.c iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00
rfd77402.c iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00
srf04.c iio: proximity: srf04: Convert to platform remove callback returning void 2023-09-23 15:06:56 +01:00
srf08.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
sx9310.c iio: proximity: sx9310: Use automated cleanup for locks and IIO mode claiming. 2024-02-17 16:16:11 +00:00
sx9324.c iio: proximity: sx9324: make use of regmap_set_bits() 2024-06-25 21:04:48 +01:00
sx9360.c iio: proximity: sx9360: make use of regmap_set_bits() 2024-06-25 21:04:48 +01:00
sx9500.c iio: proximity: sx9500: make use of regmap_clear_bits(), regmap_set_bits() 2024-06-25 21:04:48 +01:00
sx_common.c iio: proximity: sx_common: make use of regmap_clear_bits(), regmap_set_bits() 2024-06-25 21:04:48 +01:00
sx_common.h iio: proximity: sx_common: Add old register mapping 2023-03-11 12:18:28 +00:00
vcnl3020.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
vl53l0x-i2c.c iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00