linux/drivers/iio/magnetometer
Jonathan Cameron 6c1318f225 iio:magn:ak8975: Switch from CONFIG_PM guards to pm_ptr() etc
Letting the compiler remove these functions when the kernel is built
without CONFIG_PM support is simpler and less error prone than the
use of #ifdef based config guards.

Use the new DEFINE_RUNTIME_DEV_PM_OPS() macro to reduce boilerplate.

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

Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Jonathan Albrieux <jonathan.albrieux@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220130193147.279148-30-jic23@kernel.org
2022-02-18 11:45:30 +00:00
..
ak8974.c iio: Drop Duplicated "mount-matrix" parameter 2021-06-03 18:24:13 +01:00
ak8975.c iio:magn:ak8975: Switch from CONFIG_PM guards to pm_ptr() etc 2022-02-18 11:45:30 +00:00
bmc150_magn_i2c.c iio:magnetometer:bmc150: Move exports to IIO_BMC150_MAGN namespace 2022-02-18 11:42:27 +00:00
bmc150_magn_spi.c iio:magnetometer:bmc150: Move exports to IIO_BMC150_MAGN namespace 2022-02-18 11:42:27 +00:00
bmc150_magn.c iio:magnetometer:bmc150: Move exports to IIO_BMC150_MAGN namespace 2022-02-18 11:42:27 +00:00
bmc150_magn.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hid-sensor-magn-3d.c iio: hid-sensors: Update header includes 2021-06-16 14:53:13 +01:00
hmc5843_core.c iio:magnetometer:hmc5843: Move exports to IIO_HMC5843 namespace 2022-02-18 11:42:27 +00:00
hmc5843_i2c.c iio:magnetometer:hmc5843: Move exports to IIO_HMC5843 namespace 2022-02-18 11:42:27 +00:00
hmc5843_spi.c iio:magnetometer:hmc5843: Move exports to IIO_HMC5843 namespace 2022-02-18 11:42:27 +00:00
hmc5843.h iio: magn: hmc5843: Make hmc5843_common_remove() return void 2021-10-19 08:30:45 +01:00
Kconfig iio: st_sensors: don't always auto-enable I2C and SPI interface drivers 2022-01-23 18:03:35 +00:00
mag3110.c iio: mag3110: Use scan_type when processing raw data 2021-11-17 17:51:43 +00:00
Makefile iio: magnetometer: Add driver for Yamaha YAS530 2021-01-09 21:52:46 +00:00
mmc35240.c iio: magnetometer: mmc35240: Fix function header formatting 2020-07-20 09:03:08 +01:00
rm3100-core.c iio:magnetometer:rm3100: Move exports to IIO_RM3100 namespace 2022-02-18 11:42:27 +00:00
rm3100-i2c.c iio:magnetometer:rm3100: Move exports to IIO_RM3100 namespace 2022-02-18 11:42:27 +00:00
rm3100-spi.c iio:magnetometer:rm3100: Move exports to IIO_RM3100 namespace 2022-02-18 11:42:27 +00:00
rm3100.h iio: magnetometer: Add driver support for PNI RM3100 2018-11-16 18:32:31 +00:00
st_magn_buffer.c iio:st-sensors: Remove duplicate MODULE_* 2022-02-18 11:36:54 +00:00
st_magn_core.c iio:st-sensors: Move exports into IIO_ST_SENSORS namespace 2022-02-18 11:36:54 +00:00
st_magn_i2c.c iio:st-sensors: Move exports into IIO_ST_SENSORS namespace 2022-02-18 11:36:54 +00:00
st_magn_spi.c iio:st-sensors: Move exports into IIO_ST_SENSORS namespace 2022-02-18 11:36:54 +00:00
st_magn.h iio: magn: st_magn: use devm_iio_triggered_buffer_setup() for buffer 2021-07-24 16:35:05 +01:00
yamaha-yas530.c iio: Drop Duplicated "mount-matrix" parameter 2021-06-03 18:24:13 +01:00