linux-stable/drivers/iio/chemical
Jonathan Cameron 479e575aee iio: chemical: scd4x: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
Using these newer macros allows the compiler to remove the unused
structure and functions when !CONFIG_PM_SLEEP + removes the need to
mark pm functions __maybe_unused.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Roan van Dijk <roan@protonic.nl>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220621202719.13644-11-jic23@kernel.org
2022-07-18 18:48:17 +01:00
..
ams-iaq-core.c iio:chemical:ams-iaq-core: Drop of_match_ptr protection 2020-09-21 18:41:31 +01:00
atlas-ezo-sensor.c iio: chemical: atlas-ezo-sensor: Make use of device properties 2022-02-13 18:06:58 +00:00
atlas-sensor.c iio:chemical:atlas: Improve error reporting for problems during .remove() 2022-06-11 14:35:27 +01:00
bme680.h iio:chemical:bme680: Fix SPI read interface 2019-03-09 17:27:36 +00:00
bme680_core.c iio: chemical: bme680: fix typo in comment 2022-06-11 14:35:27 +01:00
bme680_i2c.c iio:chemical:bme680: Move exports to IIO_BME680 namespace 2022-02-18 11:42:27 +00:00
bme680_spi.c iio:chemical:bme680: Move exports to IIO_BME680 namespace 2022-02-18 11:42:27 +00:00
ccs811.c IIO new device support, features and minor fixes for 5.20 2022-07-14 15:04:49 +02:00
Kconfig drivers: iio: chemical: Add support for Sensirion SCD4x CO2 sensor 2021-10-19 08:30:44 +01:00
Makefile drivers: iio: chemical: Add support for Sensirion SCD4x CO2 sensor 2021-10-19 08:30:44 +01:00
pms7003.c iio: chemical: pms7003: convert comma to semicolon 2021-01-09 14:25:28 +00:00
scd4x.c iio: chemical: scd4x: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-07-18 18:48:17 +01:00
scd30.h iio: chemical: scd30: Export dev_pm_ops instead of suspend() and resume() 2022-04-05 20:16:34 +02:00
scd30_core.c iio: chemical: scd30: Move symbol exports into IIO_SCD30 namespace 2022-04-05 20:16:34 +02:00
scd30_i2c.c iio: chemical: scd30: Move symbol exports into IIO_SCD30 namespace 2022-04-05 20:16:34 +02:00
scd30_serial.c iio: chemical: scd30: Move symbol exports into IIO_SCD30 namespace 2022-04-05 20:16:34 +02:00
sgp30.c iio: chemical: sgp30: Drop use of %hx in format string. 2021-06-03 18:24:13 +01:00
sgp40.c iio: chemical: Add driver support for sgp40 2021-08-08 15:19:18 +01:00
sps30.c iio: chemical: sps30: Move symbol exports into IIO_SPS30 namespace 2022-06-21 21:30:31 +01:00
sps30.h iio: sps30: separate core and interface specific code 2021-05-17 13:49:10 +01:00
sps30_i2c.c iio: chemical: sps30: Move symbol exports into IIO_SPS30 namespace 2022-06-21 21:30:31 +01:00
sps30_serial.c iio: chemical: sps30: Move symbol exports into IIO_SPS30 namespace 2022-06-21 21:30:31 +01:00
sunrise_co2.c iio: chemical: sunrise_co2: set val parameter only on success 2021-12-28 18:37:41 +00:00
vz89x.c iio: vz89x: Remove unnecessary cast 2021-12-16 16:34:54 +00:00