linux-stable/drivers/iio/proximity
Jonathan Cameron ae73d91e60 iio:proximity:pulsedlight: 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.

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>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220130193147.279148-48-jic23@kernel.org
2022-02-21 19:33:04 +00:00
..
as3935.c iio:proximity:as3935: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:46:03 +00:00
cros_ec_mkbp_proximity.c
isl29501.c
Kconfig iio:proximity:sx9360: Add sx9360 support 2022-01-23 18:03:33 +00:00
Makefile iio:proximity:sx9360: Add sx9360 support 2022-01-23 18:03:33 +00:00
mb1232.c
ping.c iio:proximity:ping: White space cleanup of spacing around {} in id tables 2022-01-23 18:03:34 +00:00
pulsedlight-lidar-lite-v2.c iio:proximity:pulsedlight: Switch from CONFIG_PM guards to pm_ptr() etc 2022-02-21 19:33:04 +00:00
rfd77402.c iio:proximity:rfd77492: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:46:03 +00:00
srf04.c iio:proximity:srf04: White space cleanup of spacing around {} in id tables 2022-01-23 18:03:34 +00:00
srf08.c iio:proximity:srf08: White space cleanup of spacing around {} in id tables 2022-01-23 18:03:34 +00:00
sx9310.c iio:proximity:sx9310: Extract common Semtech sensor logic 2022-01-23 18:03:33 +00:00
sx9324.c iio:proximity:sx9324: Add dt_binding support 2022-01-23 18:03:33 +00:00
sx9360.c iio: sx9360: fix iio event generation 2022-01-30 12:39:16 +00:00
sx9500.c iio:proximity:sx9500: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:46:03 +00:00
sx_common.c iio: sx9360: fix iio event generation 2022-01-30 12:39:16 +00:00
sx_common.h iio:proximity:sx9310: Extract common Semtech sensor logic 2022-01-23 18:03:33 +00:00
vcnl3020.c iio: proximity: vcnl3020: remove iio_claim/release_direct 2021-07-24 16:07:17 +01:00
vl53l0x-i2c.c iio:proximity:vl53l0x: Tidy up white space around {} in id tables 2022-01-23 18:03:35 +00:00