aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-10-13 22:32:22 +0200
committerJonathan Cameron <[email protected]>2021-10-19 08:30:46 +0100
commit6dcfe3fe936030e83b30f38a223d026c01d6fe88 (patch)
tree0b8905dc7cf3bf7787daeaeb7c6d2eec68a8b0d6 /lib/mpi/mpi-inline.h
parent4b6fb9f3e98ca157ae09803731c7bd6d90519a6d (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 <[email protected]> Reviewed-by: Alexandru Ardelean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions