diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-10-13 22:32:22 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-10-19 08:30:46 +0100 |
commit | 6dcfe3fe936030e83b30f38a223d026c01d6fe88 (patch) | |
tree | 0b8905dc7cf3bf7787daeaeb7c6d2eec68a8b0d6 /drivers/iio/potentiostat | |
parent | 4b6fb9f3e98ca157ae09803731c7bd6d90519a6d (diff) |
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 'drivers/iio/potentiostat')
0 files changed, 0 insertions, 0 deletions