Skip to content
Commit bddae3e7 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Mathieu Poirier
Browse files

remoteproc: k3-dsp: Suppress duplicate error message in .remove()



When the remove callback returns non-zero, the driver core emits an
error message about the error value being ignored. As the driver already
emits an error message already, return zero. This has no effect apart
from suppressing the core's message. The platform device gets unbound
irrespective of the return value.

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20231123211657.518181-6-u.kleine-koenig@pengutronix.de
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
parent cae0e61b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment