b3134039c5
Instead of silently returning an error in the remove callback (which yields a generic and little informing error message), annotate each error path of fsl_mc_resource_pool_remove_device() with an error message and return zero in the remove callback to suppress the error message. Note that changing the return value has no other effect than suppressing the error message by the fsl_mc bus driver. 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> |
||
---|---|---|
.. | ||
dpbp.c | ||
dpcon.c | ||
dpmcp.c | ||
dprc-driver.c | ||
dprc.c | ||
fsl-mc-allocator.c | ||
fsl-mc-bus.c | ||
fsl-mc-msi.c | ||
fsl-mc-private.h | ||
fsl-mc-uapi.c | ||
Kconfig | ||
Makefile | ||
mc-io.c | ||
mc-sys.c | ||
obj-api.c |