OpenCloudOS-Kernel/drivers/iio/humidity
Jonathan Cameron 2c97f7b404 iio: humidity: hts211: Use devm_regulator_get_enable()
This driver only turns the power on at probe and off via a custom
devm_add_action_or_reset() callback. The new devm_regulator_get_enable()
replaces this boilerplate code.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20221016163409.320197-10-jic23@kernel.org
2022-11-23 19:44:02 +00:00
..
Kconfig iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER 2021-05-10 14:01:48 +01:00
Makefile iio: humidity: Add TI HDC20x0 support 2020-09-03 19:40:44 +01:00
am2315.c iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-05-17 13:54:29 +01:00
dht11.c iio: humidity: dht11: Switch from of headers to mod_devicetable.h 2022-02-06 15:21:43 +00:00
hdc100x.c iio: humidity: hdc100x: Add ACPI HID table 2022-01-30 13:44:53 +00:00
hdc2010.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
hid-sensor-humidity.c iio: hid-sensors: Update header includes 2021-06-16 14:53:13 +01:00
hts221.h iio: humidity: hts211: Use devm_regulator_get_enable() 2022-11-23 19:44:02 +00:00
hts221_buffer.c IIO new device support, features and minor fixes for 5.20 2022-07-14 15:04:49 +02:00
hts221_core.c iio: humidity: hts211: Use devm_regulator_get_enable() 2022-11-23 19:44:02 +00:00
hts221_i2c.c iio: humidity: hts221: Move symbol exports into IIO_HTS221 namespace 2022-06-15 22:07:09 +01:00
hts221_spi.c iio: humidity: hts221: Move symbol exports into IIO_HTS221 namespace 2022-06-15 22:07:09 +01:00
htu21.c iio:common:meas-spec: Move exports into IIO_MEAS_SPEC_SENSORS 2022-02-18 11:42:26 +00:00
si7005.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
si7020.c iio:humidity:si7020: Drop of_match_ptr protection 2020-09-21 18:41:34 +01:00