1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/iio/temperature
Jonathan Cameron 4a96b4e2fa iio:temperature:mlx90614: Switch from CONFIG_PM* guards to pm_ptr() etc
Letting the compiler remove these functions when the kernel is built
without one or  more of CONFIG_PM/CONFIG_PM_SLEEP support is simpler and
less error prone than the use of #ifdef based config guards.

Removing instances of this approach from IIO also stops them being
copied into new drivers.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Crt Mori <cmo@melexis.com>
Reviewed-by: Crt Mori <cmo@melexis.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220130193147.279148-43-jic23@kernel.org
2022-02-18 11:46:04 +00: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 MAX31865 RTD Support 2021-09-14 12:00:33 +01:00
ltc2983.c iio: ltc2983: fail probe if no channels are given 2021-09-14 12:00:32 +01:00
Makefile iio: temperature: Add MAX31865 RTD Support 2021-09-14 12:00:33 +01:00
max31856.c iio: max31856: Use sysfs_emit() 2022-01-23 18:03:36 +00:00
max31865.c iio: max31865: Use sysfs_emit() 2022-01-23 18:03:36 +00:00
maxim_thermocouple.c iio: temperature: maxim_thermocouple: Switch from of headers to mod_devicetable.h 2022-02-06 15:22:03 +00:00
mlx90614.c iio:temperature:mlx90614: Switch from CONFIG_PM* guards to pm_ptr() etc 2022-02-18 11:46:04 +00:00
mlx90632.c iio: temperature: mlx90632: Switch from of headers to mod_devicetable.h 2022-02-06 15:21:52 +00:00
tmp006.c iio:temperature:tmp006: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:46:03 +00:00
tmp007.c iio:temperature:tmp007: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:46:03 +00:00
tmp117.c iio: temperature: add driver support for ti tmp117 2021-05-17 13:49:05 +01:00
tsys01.c iio:common:meas-spec: Move exports into IIO_MEAS_SPEC_SENSORS 2022-02-18 11:42:26 +00:00
tsys02d.c iio:common:meas-spec: Move exports into IIO_MEAS_SPEC_SENSORS 2022-02-18 11:42:26 +00:00