linux/drivers/iio/potentiometer
Uwe Kleine-König a0386bba70
spi: make remove callback a void function
The value returned by an spi 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.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Claudius Heine <ch@denx.de>
Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC
Acked-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Acked-by: Łukasz Stelmach <l.stelmach@samsung.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220123175201.34839-6-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-02-09 13:00:45 +00:00
..
ad5110.c iio: potentiometer: Add driver support for AD5110 2021-08-15 15:38:16 +01:00
ad5272.c iio: potentiometer: ad5272: Correct polarity of reset 2020-12-03 19:32:42 +00:00
ds1803.c
Kconfig iio: potentiometer: Add driver support for AD5110 2021-08-15 15:38:16 +01:00
Makefile iio: potentiometer: Add driver support for AD5110 2021-08-15 15:38:16 +01:00
max5432.c iio:potentiometer:max5432: Drop of_match_ptr and use generic fw accessors 2020-09-21 18:41:08 +01:00
max5481.c iio: potentiometer: max5481: convert probe to device-managed 2021-07-19 09:51:59 +01:00
max5487.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
mcp4018.c iio:potentiometer:mcp4018: Drop of_match_ptr and CONFIG_OF protections. 2020-09-21 18:41:26 +01:00
mcp4131.c iio:potentiometer:mcp4131: Drop of_match_ptr and use generic fw interfaces. 2020-09-21 18:41:26 +01:00
mcp4531.c iio:potentiometer:mcp4531: Drop of_match_ptr and CONFIG_OF protections. 2020-09-21 18:41:27 +01:00
mcp41010.c iio:pot:mcp41010: Switch to generic firmware properties. 2021-12-12 17:12:47 +00:00
tpl0102.c