OpenCloudOS-Kernel/drivers/dma/fsl-dpaa2-qdma
Uwe Kleine-König 59272ad8d9 bus: fsl-mc: Make remove function return void
The value returned by an fsl-mc driver's remove function is mostly
ignored.  (Only an error message is printed if the value is non-zero
and then device removal continues unconditionally.)

So change the prototype of the remove function to return no value. This
way driver authors are not tempted to assume that passing an error to
the upper layer is a good idea. All drivers are adapted accordingly.
There is no intended change of behaviour, all callbacks were prepared to
return 0 before.

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>
2023-05-30 18:58:43 -05:00
..
Kconfig
Makefile
dpaa2-qdma.c bus: fsl-mc: Make remove function return void 2023-05-30 18:58:43 -05:00
dpaa2-qdma.h dmaengine: fsl-dpaa2-qdma: Drop comma after SoC match table sentinel 2022-03-11 15:47:39 +05:30
dpdmai.c dmaengine: fsl-dpaa2-qdma: Adding shutdown hook 2020-03-02 14:56:22 +05:30
dpdmai.h dmaengine: fsl-dpaa2-qdma: Adding shutdown hook 2020-03-02 14:56:22 +05:30