linux/drivers/iio/light
Jonathan Cameron 33b0a376f9 iio:light:rpr0521: 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.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Mikko Koivunen <mikko.koivunen@fi.rohmeurope.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220130193147.279148-50-jic23@kernel.org
2022-02-21 19:33:04 +00:00
..
acpi-als.c iio: core: move @id from struct iio_dev to struct iio_dev_opaque 2021-05-17 13:49:13 +01:00
adjd_s311.c iio: light: adjd_s311: convert probe to device-managed functions 2021-07-17 18:44:18 +01:00
adux1020.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
al3010.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
al3320a.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
apds9300.c iio:light:apds9300: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:45:29 +00:00
apds9960.c iio: make use of devm_iio_kfifo_buffer_setup() helper 2021-03-11 20:47:01 +00:00
as73211.c iio/drivers/as73211: use HZ macros 2021-09-08 11:50:26 -07:00
bh1750.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
bh1780.c iio:light:bh1780: Switch from CONFIG_PM guards to pm_ptr() etc 2022-02-21 19:33:04 +00:00
cm3232.c iio:light:cm3232: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:45:29 +00:00
cm3323.c iio: light: cm3323: Add of_device_id table 2021-08-08 15:25:40 +01:00
cm3605.c iio:light:cm3605: Switch to generic firmware properties. 2021-12-12 17:12:50 +00:00
cm32181.c iio: light: cm32181: Fix formatting and docrot issues in cm32181_acpi_get_cpm() 2020-07-20 09:03:07 +01:00
cm36651.c iio: light: cm36651: Make use of the helper function dev_err_probe() 2021-10-19 08:30:44 +01:00
cros_ec_light_prox.c iio: cros: unify hw fifo attributes without API changes 2021-03-25 19:13:52 +00:00
gp2ap002.c iio: light: gp2ap002: Make use of the helper function dev_err_probe() 2021-10-20 14:43:53 +01:00
gp2ap020a00f.c iio: gp2ap020a00f: Remove no-op trigger ops 2021-11-17 17:51:38 +00:00
hid-sensor-als.c iio: hid-sensors: bind IIO channels alloc to device object 2021-07-13 18:21:53 +01:00
hid-sensor-prox.c iio: hid-sensors: bind IIO channels alloc to device object 2021-07-13 18:21:53 +01:00
iqs621-als.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
isl29018.c iio:light:isl29018: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() 2022-02-18 11:45:29 +00:00
isl29028.c iio: light: isl29028: Balance runtime pm + use pm_runtime_resume_and_get() 2021-05-17 13:54:25 +01:00
isl29125.c iio:light:isl29125: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:45:29 +00:00
jsa1212.c iio:light:jsa1212: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:45:29 +00:00
Kconfig iio: light: Added AMS tsl2591 driver implementation 2021-05-17 13:49:06 +01:00
lm3533-als.c iio: lm3533: Use sysfs_emit() 2022-01-23 18:03:36 +00:00
ltr501.c iio:light:ltr501: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:45:29 +00:00
lv0104cs.c Replace HTTP links with HTTPS ones: drivers/iio 2020-07-13 15:05:59 +01:00
Makefile iio: light: Added AMS tsl2591 driver implementation 2021-05-17 13:49:06 +01:00
max44000.c iio: light: max44000: use device-managed functions in probe 2021-10-17 11:05:54 +01:00
max44009.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
noa1305.c iio: light: noa1305: Make use of the helper function dev_err_probe() 2021-10-19 08:30:44 +01:00
opt3001.c iio: light: opt3001: Fixed timeout error when 0 lux 2021-10-03 16:43:25 +01:00
pa12203001.c iio:light:pa12203001: Tidy up white space change to add spaces after { and before } 2022-01-23 18:03:34 +00:00
rpr0521.c iio:light:rpr0521: Switch from CONFIG_PM guards to pm_ptr() etc 2022-02-21 19:33:04 +00:00
si1133.c iio: light: si1133: Drop remaining uses of %hhx format string. 2021-06-09 18:31:03 +01:00
si1145.c iio: light: si1145: remove redundant continue statement 2021-07-19 09:52:00 +01:00
st_uvis25_core.c iio:light:st_uvis25: Move exports to IIO_UVIS25 namespace 2022-02-18 11:42:27 +00:00
st_uvis25_i2c.c iio:light:st_uvis25: Move exports to IIO_UVIS25 namespace 2022-02-18 11:42:27 +00:00
st_uvis25_spi.c iio:light:st_uvis25: Move exports to IIO_UVIS25 namespace 2022-02-18 11:42:27 +00:00
st_uvis25.h iio:light:st_uvis25: Fix timestamp alignment and prevent data leak. 2020-12-03 19:40:27 +00:00
stk3310.c iio:light:stk3310: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:45:30 +00:00
tcs3414.c iio:light:tcs3414: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:45:30 +00:00
tcs3472.c iio:light:tcs3472: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:45:30 +00:00
tsl2563.c iio:light:tsl2563: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:45:30 +00:00
tsl2583.c iio: light: tsl2583: Balance runtime pm + use pm_runtime_resume_and_get() 2021-05-17 13:54:25 +01:00
tsl2591.c iio: light: tsl2591: delete a stray tab 2021-05-17 14:10:24 +01:00
tsl2772.c iio:light:tsl2722: Fix inconsistent spacing before } in id table 2022-01-23 18:03:35 +00:00
tsl4531.c iio:light:tsl4531: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:45:30 +00:00
us5182d.c iio:light:us5182: White space cleanup of spacing around {} in id tables 2022-01-23 18:03:34 +00:00
vcnl4000.c iio: light: vcnl4000: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-06-14 11:42:41 +01:00
vcnl4035.c iio:light:vcnl4035: Trivial whitespace cleanup to add space before } 2022-01-23 18:03:34 +00:00
veml6030.c iio: light: Convert sysfs sprintf/snprintf family to sysfs_emit 2021-05-17 13:49:05 +01:00
veml6070.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
vl6180.c iio: vl6180: Use DIV_ROUND_CLOSEST() instead of open-coding it 2021-01-09 21:52:45 +00:00
zopt2201.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00