linux/drivers/iio/common/st_sensors
Jonathan Cameron 9e855d77b1 iio: st_sensors: core and lsm9ds0 switch to devm_regulator_bulk_get_enable()
These drivers only turns the power on at probe and off via a custom
devm_add_action_or_reset() callback. The two regulators were handled
separately so also switch to bulk registration.
The new devm_regulator_bulk_get_enable() replaces all this boilerplate
code.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20221016163409.320197-8-jic23@kernel.org
2022-11-23 19:44:01 +00:00
..
Kconfig iio: st_sensors: don't always auto-enable I2C and SPI interface drivers 2022-01-23 18:03:35 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
st_sensors_buffer.c iio:st-sensors: Move exports into IIO_ST_SENSORS namespace 2022-02-18 11:36:54 +00:00
st_sensors_core.c iio: st_sensors: core and lsm9ds0 switch to devm_regulator_bulk_get_enable() 2022-11-23 19:44:01 +00:00
st_sensors_core.h iio: st-sensors: Remove some unused includes and add some that should be there 2021-07-24 15:59:00 +01:00
st_sensors_i2c.c iio:st-sensors: Move exports into IIO_ST_SENSORS namespace 2022-02-18 11:36:54 +00:00
st_sensors_spi.c iio:st-sensors: Move exports into IIO_ST_SENSORS namespace 2022-02-18 11:36:54 +00:00
st_sensors_trigger.c iio:st-sensors: Move exports into IIO_ST_SENSORS namespace 2022-02-18 11:36:54 +00:00