WSL2-Linux-Kernel/drivers/iio/dac
Uwe Kleine-König ed5c2f5fd1 i2c: Make remove callback return void
The value returned by an i2c driver's remove function is mostly ignored.
(Only an error message is printed if the value is non-zero that the
error is ignored.)

So change the prototype of the remove function to return no value. This
way driver authors are not tempted to assume that passing an error to
the upper layer is a good idea. All drivers are adapted accordingly.
There is no intended change of behaviour, all callbacks were prepared to
return 0 before.

Reviewed-by: Peter Senna Tschudin <peter.senna@gmail.com>
Reviewed-by: Jeremy Kerr <jk@codeconstruct.com.au>
Reviewed-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Crt Mori <cmo@melexis.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Marek Behún <kabel@kernel.org> # for leds-turris-omnia
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Petr Machata <petrm@nvidia.com> # for mlxsw
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com> # for surface3_power
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> # for bmc150-accel-i2c + kxcjk-1013
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> # for media/* + staging/media/*
Acked-by: Miguel Ojeda <ojeda@kernel.org> # for auxdisplay/ht16k33 + auxdisplay/lcd2s
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> # for versaclock5
Reviewed-by: Ajay Gupta <ajayg@nvidia.com> # for ucsi_ccg
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> # for iio
Acked-by: Peter Rosin <peda@axentia.se> # for i2c-mux-*, max9860
Acked-by: Adrien Grassein <adrien.grassein@gmail.com> # for lontium-lt8912b
Reviewed-by: Jean Delvare <jdelvare@suse.de> # for hwmon, i2c-core and i2c/muxes
Acked-by: Corey Minyard <cminyard@mvista.com> # for IPMI
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> # for drivers/power
Acked-by: Krzysztof Hałasa <khalasa@piap.pl>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2022-08-16 12:46:26 +02:00
..
Kconfig iio: dac: ti-dac5571: add support for ti,dac121c081 2022-06-11 14:35:27 +01:00
Makefile
ad3552r.c
ad5064.c iio: dac: ad5064: Fix alignment for DMA safety 2022-06-14 11:53:15 +01:00
ad5360.c iio: dac: ad5360: Fix alignment for DMA safety 2022-06-14 11:53:15 +01:00
ad5380.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
ad5421.c iio: dac: ad5421: Fix alignment for DMA safety 2022-06-14 11:53:15 +01:00
ad5446.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
ad5449.c iio: dac: ad5449: Fix alignment for DMA safety 2022-06-14 11:53:15 +01:00
ad5504.c iio: dac: ad5504: Fix alignment for DMA safety 2022-06-14 11:53:16 +01:00
ad5592r-base.c iio: dac: ad5592r: Get rid of OF specifics 2022-06-14 11:53:08 +01:00
ad5592r-base.h iio: dac: ad5592r: Fix alignment for DMA safety 2022-06-14 11:53:16 +01:00
ad5592r.c
ad5593r.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
ad5624r.h
ad5624r_spi.c
ad5686-spi.c
ad5686.c
ad5686.h iio: dac: ad5686: Fix alignment for DMA safety 2022-06-14 11:53:16 +01:00
ad5696-i2c.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
ad5755.c iio: dac: ad5755: Fix alignment for DMA safety 2022-06-14 11:53:16 +01:00
ad5758.c
ad5761.c iio: dac: ad5761: Fix alignment for DMA safety 2022-06-14 11:53:16 +01:00
ad5764.c iio: dac: ad5764: Fix alignment for DMA safety 2022-06-14 11:53:16 +01:00
ad5766.c iio: dac: ad5766: Fix alignment for DMA safety 2022-06-14 11:53:16 +01:00
ad5770r.c iio: dac: ad5770r: Fix alignment for DMA safety 2022-06-14 11:53:16 +01:00
ad5791.c iio: dac: ad5791: Fix alignment for DMA saftey 2022-06-14 11:53:16 +01:00
ad7293.c iio: dac: ad7293: Fix alignment for DMA safety 2022-06-14 11:53:16 +01:00
ad7303.c iio: dac: ad7303: Fix alignment for DMA safety 2022-06-14 11:53:16 +01:00
ad8801.c iio: dac: ad8801: Fix alignment for DMA safety 2022-06-14 11:53:17 +01:00
cio-dac.c iio: dac: cio-dac: Cleanup indexing for DAC writes 2022-07-16 18:48:20 +01:00
dpot-dac.c
ds4424.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
lpc18xx_dac.c
ltc1660.c iio: dac: ltc1660: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-07-18 18:48:18 +01:00
ltc2632.c
ltc2688.c iio: dac: ltc2688: Fix alignment for DMA safety 2022-06-14 11:53:17 +01:00
m62332.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
max517.c iio: dac: max517: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-07-18 18:48:18 +01:00
max5821.c iio: dac: max5821: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-07-18 18:48:18 +01:00
mcp4725.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
mcp4922.c iio: dac: mcp4922: add support to mcp4921 2022-07-01 11:19:08 +01:00
stm32-dac-core.c
stm32-dac-core.h
stm32-dac.c iio: dac: stm32-dac: Replace open coded str_enable_disable() 2022-06-18 16:38:05 +01:00
ti-dac082s085.c iio: dac: ti-dac082s085: Fix alignment for DMA safety 2022-06-14 11:53:17 +01:00
ti-dac5571.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
ti-dac7311.c iio: dac: ti-dac7311: Fix alignment for DMA safety 2022-06-14 11:53:17 +01:00
ti-dac7612.c iio: dac: ti-dac7612: Fix alignment for DMA safety 2022-06-14 11:53:17 +01:00
vf610_dac.c iio: dac: vf610_dac: explicitly add proper header files 2022-06-14 11:53:20 +01:00