linux/drivers/i3c/master/mipi-i3c-hci
Uwe Kleine-König f959ec6175 i3c: mipi-i3c-hci: 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-5-u.kleine-koenig@pengutronix.de
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-03-21 19:25:25 +01:00
..
cmd_v1.c
cmd_v2.c
cmd.h
core.c i3c: mipi-i3c-hci: Convert to platform remove callback returning void 2023-03-21 19:25:25 +01:00
dat_v1.c i3c/master/mipi-i3c-hci: Fix a potentially infinite loop in 'hci_dat_v1_get_index()' 2021-12-10 15:55:41 +01:00
dat.h
dct_v1.c
dct.h
dma.c i3c/master/mipi-i3c-hci: Prefer struct_size over open coded arithmetic 2021-12-10 15:54:45 +01:00
ext_caps.c
ext_caps.h
hci.h i3c/master/mipi-i3c-hci: Prefer kcalloc over open coded arithmetic 2021-12-10 15:54:46 +01:00
ibi.h
Makefile
pio.c
xfer_mode_rate.h