linux/drivers/soc/ti
Uwe Kleine-König 82e83cb51c soc/ti: wkup_m3_ipc: 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 ignored (apart
from emitting a warning) 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. Eventually after all drivers
are converted, .remove_new() will be renamed to .remove().

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>
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org> # qcom
Link: https://lore.kernel.org/r/20230925095532.1984344-40-u.kleine-koenig@pengutronix.de
Signed-off-by: Nishanth Menon <nm@ti.com>
2023-10-02 09:11:46 -05:00
..
k3-ringacc.c soc/ti: k3-ringacc: Convert to platform remove callback returning void 2023-10-02 09:11:45 -05:00
k3-socinfo.c soc: ti: k3-socinfo.c: Add JTAG ID for AM62PX 2023-08-11 16:01:09 -05:00
Kconfig soc: ti: pruss: Allow compile-testing 2023-05-17 09:14:02 -05:00
knav_dma.c soc/ti: knav_dma: Convert to platform remove callback returning void 2023-10-02 09:11:45 -05:00
knav_qmss_acc.c soc: ti: Use of_property_read_bool() for boolean properties 2023-03-11 05:57:07 -06:00
knav_qmss_queue.c soc/ti: knav_qmss_queue: Convert to platform remove callback returning void 2023-10-02 09:11:45 -05:00
knav_qmss.h soc: ti: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
Makefile soc: ti: Mover power-domain drivers to the genpd dir 2023-07-14 10:40:56 +02:00
pm33xx.c soc/ti: pm33xx: Convert to platform remove callback returning void 2023-10-02 09:11:45 -05:00
pruss.c soc/ti: pruss: Convert to platform remove callback returning void 2023-10-02 09:11:45 -05:00
pruss.h soc: ti: pruss: Add pruss_cfg_read()/update(), pruss_cfg_get_gpmux()/set_gpmux() APIs 2023-05-17 09:15:39 -05:00
smartreflex.c soc/ti: smartreflex: Convert to platform remove callback returning void 2023-10-02 09:11:46 -05:00
ti_sci_inta_msi.c soc: ti: Explicitly include correct DT includes 2023-07-25 06:26:34 -05:00
wkup_m3_ipc.c soc/ti: wkup_m3_ipc: Convert to platform remove callback returning void 2023-10-02 09:11:46 -05:00