linux/drivers/iio/temperature
Alexandru Ardelean 2bb3b8f69a iio: temperature: tmp006: convert probe to device-managed
This change converts the driver to register via devm_iio_device_register().
For the tmp006_powerdown() hook, this uses a devm_add_action() hook to put
the device in powerdown mode when it's unregistered.

With these changes, the remove hook can be removed.

The i2c_set_clientdata() call is staying around as the private data is used
in the PM routines.

Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210624081924.15897-1-aardelean@deviqon.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2021-07-19 09:51:59 +01:00
..
hid-sensor-temperature.c iio: hid-sensors: Update header includes 2021-06-16 14:53:13 +01:00
iqs620at-temp.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
Kconfig iio: temperature: add driver support for ti tmp117 2021-05-17 13:49:05 +01:00
ltc2983.c iio: ltc2983: Fix of_node refcounting 2020-09-29 17:34:18 +01:00
Makefile iio: temperature: add driver support for ti tmp117 2021-05-17 13:49:05 +01:00
max31856.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
maxim_thermocouple.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
mlx90614.c iio: temp: mlx90614: Handle failure in pm_runtime_resume_and_get() 2021-05-17 13:54:26 +01:00
mlx90632.c drivers: iio: temperature: Add delay after the addressed reset command in mlx90632.c 2021-01-14 20:56:55 +00:00
tmp006.c iio: temperature: tmp006: convert probe to device-managed 2021-07-19 09:51:59 +01:00
tmp007.c iio: temperature: tmp007: use device-managed functions in probe 2021-03-25 19:13:51 +00:00
tmp117.c iio: temperature: add driver support for ti tmp117 2021-05-17 13:49:05 +01:00
tsys01.c iio:temperature:tsys01: Drop of_match_ptr protection 2020-09-21 18:41:30 +01:00
tsys02d.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00