kernel-hacking-2024-linux-s.../drivers/clk/imx
Uwe Kleine-König f5072cffb3 clk: imx: imx8mp: 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.

Fixes: 1496dd413b ("clk: imx: imx8mp: Add pm_runtime support for power saving")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20240423071232.463201-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
2024-05-01 14:40:49 +03:00
..
clk-busy.c
clk-composite-7ulp.c
clk-composite-8m.c clk: imx: composite-8m: Delete two unnecessary initialisations in __imx8m_clk_hw_composite() 2024-02-26 10:58:42 +02:00
clk-composite-93.c
clk-cpu.c
clk-divider-gate.c
clk-fixup-div.c
clk-fixup-mux.c
clk-frac-pll.c
clk-fracn-gppll.c
clk-gate-93.c
clk-gate-exclusive.c
clk-gate2.c
clk-gpr-mux.c
clk-imx1.c
clk-imx5.c
clk-imx6q.c
clk-imx6sl.c
clk-imx6sll.c
clk-imx6sx.c clk: imx: imx6sx: Allow a different LCDIF1 clock parent 2023-10-04 15:33:47 +03:00
clk-imx6ul.c
clk-imx7d.c
clk-imx7ulp.c
clk-imx8-acm.c clk: imx: imx8-acm: Convert to platform remove callback returning void 2024-03-08 15:18:36 -08:00
clk-imx8dxl-rsrc.c clk: imx8: remove MLB support 2023-10-04 15:44:11 +03:00
clk-imx8mm.c
clk-imx8mn.c
clk-imx8mp-audiomix.c clk: imx: imx8mp: Convert to platform remove callback returning void 2024-05-01 14:40:49 +03:00
clk-imx8mp.c
clk-imx8mq.c clk: imx: imx8mq: correct error handling path 2023-10-04 11:35:56 +03:00
clk-imx8qm-rsrc.c clk: imx: imx8qm/qxp: add more resources to whitelist 2023-10-04 15:44:19 +03:00
clk-imx8qxp-lpcg.c
clk-imx8qxp-lpcg.h clk: imx8: remove MLB support 2023-10-04 15:44:11 +03:00
clk-imx8qxp-rsrc.c clk: imx: imx8qm/qxp: add more resources to whitelist 2023-10-04 15:44:19 +03:00
clk-imx8qxp.c clk: imx: clk-imx8qxp: fix LVDS bypass, pixel and phy clocks 2023-12-20 11:32:19 +02:00
clk-imx8ulp.c
clk-imx25.c
clk-imx27.c
clk-imx31.c
clk-imx35.c
clk-imx93.c
clk-imx95-blk-ctl.c clk: imx: add i.MX95 BLK CTL clk driver 2024-04-22 12:58:10 +03:00
clk-imxrt1050.c
clk-lpcg-scu.c
clk-pfd.c
clk-pfdv2.c
clk-pll14xx.c clk: imx: pll14xx: change naming of fvco to fout 2023-12-21 15:00:00 +02:00
clk-pllv1.c
clk-pllv2.c
clk-pllv3.c
clk-pllv4.c
clk-scu.c clk: imx: scu: Use common error handling code in imx_clk_scu_alloc_dev() 2024-02-26 10:59:46 +02:00
clk-scu.h
clk-sscg-pll.c
clk-vf610.c
clk.c
clk.h
Kconfig clk: imx: add i.MX95 BLK CTL clk driver 2024-04-22 12:58:10 +03:00
Makefile clk: imx: add i.MX95 BLK CTL clk driver 2024-04-22 12:58:10 +03:00