remoteproc: k3-dsp: Suppress duplicate error message in .remove()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 23 Nov 2023 21:16:59 +0000 (22:16 +0100)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Thu, 30 Nov 2023 16:39:29 +0000 (09:39 -0700)
commitbddae3e7ae70586b3805fdbce193760f13b4d73e
tree69d6d8b36a36c1971690b34b3b1c6d828f7b4aaf
parentcae0e61beb7acb1c54a17e5418978f096d66def6
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: Uwe 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: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/ti_k3_dsp_remoteproc.c