aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-10-13 22:32:19 +0200
committerJonathan Cameron <[email protected]>2021-10-19 08:30:45 +0100
commitc7143c49c6041da1739765055645337e082abeb4 (patch)
tree45348f8d879a63bb2dbdd68f007f7e4e7eed780a /lib/mpi/mpi-inline.h
parent3ceed0211a909563b0b68b11d3a316d9f2887293 (diff)
iio: health: afe4403: 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 another warning message. Don't report the same problem twice and return 0 unconditionally instead. Also degrade the log level to warning, as nothing really bad is expected from a failure to put the device in suspend mode. 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