linux/drivers/i3c/master
Uwe Kleine-König 3f8ad58359 i3c: cdns: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is (mostly) ignored
and this typically results in resource leaks. To improve here there is a
quest to make the remove callback return void. In the first step of this
quest all drivers are converted to .remove_new() which already returns
void.

Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230318233311.265186-4-u.kleine-koenig@pengutronix.de
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-03-21 19:25:25 +01:00
..
mipi-i3c-hci i3c: Make i3c_master_unregister() return void 2023-03-21 19:25:25 +01:00
dw-i3c-master.c i3c: dw: Convert to platform remove callback returning void 2023-03-21 19:25:25 +01:00
i3c-master-cdns.c i3c: cdns: Convert to platform remove callback returning void 2023-03-21 19:25:25 +01:00
Kconfig i3c: master: svc: Add Silvaco I3C master driver 2021-02-06 00:43:29 +01:00
Makefile i3c: master: svc: Add Silvaco I3C master driver 2021-02-06 00:43:29 +01:00
svc-i3c-master.c i3c: Make i3c_master_unregister() return void 2023-03-21 19:25:25 +01:00