diff options
author | 2023-03-10 23:41:27 +0100 | |
---|---|---|
committer | 2023-05-30 18:58:43 -0500 | |
commit | c27ea8e6325cad44c8c5bc2e8e7cc7635f358f31 (patch) | |
tree | e1aad796539157cdaccefa9e69a6a6420a23a12d /scripts/generate_rust_analyzer.py | |
parent | bus: fsl-mc: fsl-mc-allocator: Improve error reporting (diff) | |
download | wireguard-linux-c27ea8e6325cad44c8c5bc2e8e7cc7635f358f31.tar.xz wireguard-linux-c27ea8e6325cad44c8c5bc2e8e7cc7635f358f31.zip |
soc: fsl: dpio: Suppress duplicated error reporting on device remove
Returning an error code from a fsl_mc_driver's remove callback results
in a generic error message, otherwise the value is ignored and the device
gets unbound.
As the only error path in dpaa2_dpio_remove() already emits an error
message, return zero unconditionally to suppress another (less helpful)
error report.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com> # sanity checks
Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Tested-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions