WSL2-Linux-Kernel/drivers/iio/common/st_sensors
Cai Huoqing 4dff754876 iio: st_sensors: 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/20210928014055.1431-1-caihuoqing@baidu.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2021-10-19 08:30:44 +01:00
..
Kconfig iio: st_sensors: Fix build error 2019-08-25 18:57:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
st_sensors_buffer.c iio: st-sensors: Remove some unused includes and add some that should be there 2021-07-24 15:59:00 +01:00
st_sensors_core.c iio: st_sensors: Make use of the helper function dev_err_probe() 2021-10-19 08:30:44 +01:00
st_sensors_core.h iio: st-sensors: Remove some unused includes and add some that should be there 2021-07-24 15:59:00 +01:00
st_sensors_i2c.c iio: st_sensors: remove reference to parent device object on st_sensor_data 2021-09-14 12:00:32 +01:00
st_sensors_spi.c iio: st_sensors: remove reference to parent device object on st_sensor_data 2021-09-14 12:00:32 +01:00
st_sensors_trigger.c iio: st_sensors: remove reference to parent device object on st_sensor_data 2021-09-14 12:00:32 +01:00