diff options
| author | 2021-10-13 22:32:22 +0200 | |
|---|---|---|
| committer | 2021-10-19 08:30:46 +0100 | |
| commit | 6dcfe3fe936030e83b30f38a223d026c01d6fe88 (patch) | |
| tree | 0b8905dc7cf3bf7787daeaeb7c6d2eec68a8b0d6 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | iio: magn: hmc5843: Make hmc5843_common_remove() return void (diff) | |
| download | linux-dev-6dcfe3fe936030e83b30f38a223d026c01d6fe88.tar.xz linux-dev-6dcfe3fe936030e83b30f38a223d026c01d6fe88.zip | |
iio: potentiometer: max5487: Don't return an error in .remove()
The only effect of returning an error in an spi .remove() callback is
that the spi core issues a generic warning message. Instead emit a more
specific error message and return 0 to not report the same issue twice.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Link: https://lore.kernel.org/r/20211013203223.2694577-15-u.kleine-koenig@pengutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
