linux-stable/drivers/soc/fsl
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 bus: fsl-mc: Make remove function return void 2023-05-30 18:58:43 -05:00
qbman soc: fsl: Use of_property_present() for testing DT property presence 2023-04-14 14:58:50 +02:00
qe sound updates for 6.4-rc1 2023-04-27 10:58:37 -07:00
dpaa2-console.c soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read 2021-10-21 18:19:52 -05:00
guts.c soc: fsl: guts: check return value after calling of_iomap() in fsl_guts_get_soc_uid() 2022-07-05 08:41:55 +08:00
Kconfig soc: fsl: select FSL_GUTS driver for DPIO 2022-09-02 11:28:40 +02:00
Makefile soc: fsl: add RCPM driver 2019-11-12 15:26:05 -06:00
rcpm.c soc: fsl: rcpm: Make use of the helper function devm_platform_ioremap_resource() 2021-10-21 19:37:32 -05:00