linux/drivers/iio
Uwe Kleine-König 58a6df5580 iio:light:stk3310: Remove duplicated error reporting in .remove()
Returning an error value in an i2c remove callback results in an 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.

As stk3310_set_state() already emits an error message on failure and the
additional error message by the i2c core doesn't add any useful
information, change the return value to zero to suppress this 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/20220430081607.15078-9-u.kleine-koenig@pengutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-06-11 14:35:25 +01:00
..
accel iio:accel:stk8ba50: Remove duplicated error reporting in .remove() 2022-06-11 14:35:25 +01:00
adc Char / Misc / Other smaller driver subsystem updates for 5.19-rc1 2022-06-03 11:36:34 -07: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 Merge branches 'pm-core', 'pm-sleep' and 'powercap' 2022-05-23 19:06:33 +02:00
common iio: Replace strtobool() with kstrtobool() 2022-04-28 19:22:54 +01:00
dac First set of IIO new device support, features and cleanup for 5.19 2022-05-19 16:53:08 +02: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: core: Simplify the registration of kfifo buffers 2022-04-10 16:25:46 +01:00
humidity iio:common:meas-spec: Move exports into IIO_MEAS_SPEC_SENSORS 2022-02-18 11:42:26 +00:00
imu First set of IIO new device support, features and cleanup for 5.19 2022-05-19 16:53:08 +02:00
light iio:light:stk3310: Remove duplicated error reporting in .remove() 2022-06-11 14:35:25 +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: st_sensors: Stop abusing mlock to ensure internal coherency 2022-04-10 16:21:45 +01:00
proximity iio: proximity: srf04: Make use of device properties 2022-06-11 14:35:25 +01:00
resolver iio:resolver:ad2s1200: Drop of_match_ptr protection 2020-09-21 18:41:31 +01:00
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-trigger: make iio_device_register_trigger_consumer() an int return 2021-03-11 20:47:02 +00:00
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