linux-stable/drivers/iio/light
Cai Huoqing 77b91b1cbc iio: light: gp2ap002: Make use of the helper function dev_err_probe()
When possible use dev_err_probe help to properly deal with the
PROBE_DEFER error, the benefit is that DEFER issue will be logged
in the devices_deferred debugfs file.
Using dev_err_probe() can reduce code size, and the error value
gets printed.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Link: https://lore.kernel.org/r/20211008092656.421-3-caihuoqing@baidu.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2021-10-20 14:43:53 +01:00
..
acpi-als.c
adjd_s311.c iio: light: adjd_s311: convert probe to device-managed functions 2021-07-17 18:44:18 +01:00
adux1020.c
al3010.c
al3320a.c
apds9300.c
apds9960.c
as73211.c iio/drivers/as73211: use HZ macros 2021-09-08 11:50:26 -07:00
bh1750.c
bh1780.c
cm3232.c
cm3323.c iio: light: cm3323: Add of_device_id table 2021-08-08 15:25:40 +01:00
cm3605.c iio: light: cm3605: Make use of the helper function dev_err_probe() 2021-10-20 14:43:53 +01:00
cm32181.c
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
gp2ap002.c iio: light: gp2ap002: Make use of the helper function dev_err_probe() 2021-10-20 14:43:53 +01:00
gp2ap020a00f.c
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
isl29018.c
isl29028.c
isl29125.c iio: light: isl29125: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-05-17 13:54:30 +01:00
jsa1212.c
Kconfig
lm3533-als.c
ltr501.c iio: light: ltr501: Add of_device_id table 2021-10-20 14:43:51 +01:00
lv0104cs.c
Makefile
max44000.c iio: light: max44000: use device-managed functions in probe 2021-10-17 11:05:54 +01:00
max44009.c
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: Use pm_runtime_resume_and_get() to replace open coding. 2021-05-17 13:54:31 +01:00
rpr0521.c iio: light: rpr0521: Balance runtime pm + use pm_runtime_resume_and_get() 2021-05-17 13:54:27 +01: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.h
st_uvis25_core.c
st_uvis25_i2c.c
st_uvis25_spi.c
stk3310.c
tcs3414.c iio: light: tcs3414: convert probe to device-managed routines 2021-07-19 09:51:59 +01:00
tcs3472.c iio: light: tcs3472: do not free unallocated IRQ 2021-06-16 14:57:03 +01:00
tsl2563.c
tsl2583.c
tsl2591.c iio: light: tsl2591: delete a stray tab 2021-05-17 14:10:24 +01:00
tsl2772.c
tsl4531.c
us5182d.c iio: light: us5182: Use pm_runtime_resume_and_get() to replace open coding. 2021-05-17 13:54:26 +01: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: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-06-16 14:53:08 +01:00
veml6030.c
veml6070.c
vl6180.c
zopt2201.c