linux/drivers/iio
Uwe Kleine-König a76209246d iio:chemical:atlas: Improve error reporting for problems during .remove()
Returning an error value in an i2c remove callback results in a generic
error message being emitted by the i2c core, but otherwise it doesn't
make a difference. The device goes away anyhow and the devm cleanups are
called.

So instead of triggering the generic i2c error message, emit a more
helpful message if a problem occurs and return 0 to suppress the generic
message.

This patch is a preparation for making i2c remove callbacks return void.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220515155929.338656-4-u.kleine-koenig@pengutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-06-11 14:35:27 +01:00
..
accel iio: common: cros_ec_sensors: Add label attribute 2022-06-11 14:35:26 +01:00
adc iio:adc:ti-ads1015: Improve error reporting for problems during .remove() 2022-06-11 14:35:27 +01:00
addac iio: addac: ad74413r: correct comparator gpio getters mask usage 2022-01-30 14:23:33 +00:00
afe iio: afe: rescale: Make use of device properties 2022-04-28 19:22:54 +01:00
amplifiers Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
buffer iio: core: Simplify the registration of kfifo buffers 2022-04-10 16:25:46 +01:00
cdc iio:cdc:ad7150: Fix use of uninitialized ret 2021-04-07 08:36:39 +01:00
chemical iio:chemical:atlas: Improve error reporting for problems during .remove() 2022-06-11 14:35:27 +01:00
common iio: common: cros_ec_sensors: Add label attribute 2022-06-11 14:35:26 +01:00
dac iio: dac: cio-dac: Utilize iomap interface 2022-06-11 14:35:26 +01:00
dummy Bitmap patches for 5.19-rc1 2022-06-04 14:04:27 -07:00
filter iio:filter:admv8818: select REGMAP_SPI for ADMV8818 2022-04-04 09:19:01 +01:00
frequency iio: Replace strtobool() with kstrtobool() 2022-04-28 19:22:54 +01:00
gyro iio: gyro: mpu3050: Make mpu3050_common_remove() return void 2022-05-01 19:01:13 +01:00
health iio: health: afe4404: Remove duplicated error reporting in .remove() 2022-06-11 14:35:26 +01:00
humidity iio:common:meas-spec: Move exports into IIO_MEAS_SPEC_SENSORS 2022-02-18 11:42:26 +00:00
imu iio: imu: st_lsm6dsx: Switch from of headers to mod_devicetable.h 2022-06-11 14:35:26 +01:00
light iio: common: cros_ec_sensors: Add label attribute 2022-06-11 14:35:26 +01:00
magnetometer First set of IIO new device support, features and cleanup for 5.19 2022-05-19 16:53:08 +02:00
multiplexer iio: multiplexer: Make use of device properties 2022-04-04 09:11:24 +01:00
orientation iio: hid-sensors: bind IIO channels alloc to device object 2021-07-13 18:21:53 +01:00
position iio: hid-sensors: Update header includes 2021-06-16 14:53:13 +01:00
potentiometer Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
potentiostat iio: lmp91000: Remove no-op trigger ops 2021-11-17 17:51:38 +00:00
pressure iio: common: cros_ec_sensors: Add label attribute 2022-06-11 14:35:26 +01:00
proximity iio: proximity: srf04: Make use of device properties 2022-06-11 14:35:25 +01:00
resolver
temperature iio: temperature: max31865: Make use of device properties 2022-04-28 19:30:19 +01:00
test iio: test: add basic tests for the iio-rescale driver 2022-02-28 10:22:24 +00:00
trigger iio: trigger: stm32-lptimer-trigger: Make use of device properties 2022-06-11 14:35:25 +01:00
iio_core_trigger.h
iio_core.h iio: Mark iio_device_type as const 2021-11-17 17:51:35 +00:00
industrialio-buffer.c iio: Replace strtobool() with kstrtobool() 2022-04-28 19:22:54 +01:00
industrialio-configfs.c
industrialio-core.c iio: core: Convert to use firmware node handle instead of OF node 2022-04-28 19:22:55 +01:00
industrialio-event.c iio: Replace strtobool() with kstrtobool() 2022-04-28 19:22:54 +01:00
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c iio: core: Move the currentmode entry to the opaque structure 2022-04-10 16:23:01 +01:00
industrialio-triggered-event.c iio: core: move @id from struct iio_dev to struct iio_dev_opaque 2021-05-17 13:49:13 +01:00
inkern.c iio: inkern: make a best effort on offset calculation 2022-01-30 14:38:03 +00:00
Kconfig iio: add filter subfolder 2021-12-16 17:29:46 +00:00
Makefile iio: add filter subfolder 2021-12-16 17:29:46 +00:00
TODO