linux-stable/drivers/soc/fsl/dpio
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
..
dpio-cmd.h soc: fsl: dpio: extract the QBMAN clock frequency from the attributes 2021-10-15 14:32:40 +01:00
dpio-driver.c bus: fsl-mc: Make remove function return void 2023-05-30 18:58:43 -05:00
dpio-service.c ARM: SoC fixes for v5.16 2021-11-10 11:25:37 -08:00
dpio.c soc: fsl: dpio: extract the QBMAN clock frequency from the attributes 2021-10-15 14:32:40 +01:00
dpio.h soc: fsl: dpio: extract the QBMAN clock frequency from the attributes 2021-10-15 14:32:40 +01:00
Makefile
qbman-portal.c soc: fsl: dpio: read the consumer index from the cache inhibited area 2022-02-09 13:15:35 +00:00
qbman-portal.h soc: fsl: dpio: add Net DIM integration 2021-10-15 14:32:41 +01:00