linux/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: imx: busy: Add a determine_rate hook 2023-06-08 18:39:28 -07:00
clk-composite-7ulp.c clk: imx: Remove values for mmask and nmask in struct clk_fractional_divider 2023-04-05 12:09:27 -07:00
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: imx: imx93: add mcore_booted module paratemter 2023-04-09 16:48:54 +03:00
clk-cpu.c clk: imx: Support building i.MX common clock driver as module 2020-08-22 12:38:20 +08:00
clk-divider-gate.c clk: imx: clk-divider-gate: Switch to clk_divider.determine_rate 2021-08-24 16:09:07 +03:00
clk-fixup-div.c clk: imx: drop redundant initialization 2020-02-17 14:32:32 +08:00
clk-fixup-mux.c clk: imx: fixup-mux: Add a determine_rate hook 2023-06-08 18:39:29 -07:00
clk-frac-pll.c clk: imx: Support building i.MX common clock driver as module 2020-08-22 12:38:20 +08:00
clk-fracn-gppll.c clk: imx: Add 519.75MHz frequency support for imx9 pll 2023-07-25 10:28:42 +03:00
clk-gate2.c clk: imx: gate2: Remove unused variable ret 2020-11-10 09:08:03 +08:00
clk-gate-93.c clk: imx: add i.MX93 clk gate 2022-09-19 13:06:45 +03:00
clk-gate-exclusive.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-gpr-mux.c clk: imx: clk-gpr-mux: Simplify .determine_rate() 2023-07-25 10:35:10 +03:00
clk-imx1.c clk: imx: Drop inclusion of unused header <soc/imx/timer.h> 2023-06-23 09:33:43 +02:00
clk-imx5.c clk: imx: remove clk_count of imx_register_uart_clocks 2023-01-29 20:29:29 +02:00
clk-imx6q.c clk: imx6q: add ethernet refclock mux support 2023-01-31 14:45:03 +02:00
clk-imx6sl.c clk: imx: remove clk_count of imx_register_uart_clocks 2023-01-29 20:29:29 +02:00
clk-imx6sll.c clk: imx: remove clk_count of imx_register_uart_clocks 2023-01-29 20:29:29 +02:00
clk-imx6sx.c clk: imx: imx6sx: Allow a different LCDIF1 clock parent 2023-10-04 15:33:47 +03:00
clk-imx6ul.c clk: imx6ul: retain early UART clocks during kernel init 2023-05-18 13:36:07 +03:00
clk-imx7d.c clk: imx: remove clk_count of imx_register_uart_clocks 2023-01-29 20:29:29 +02:00
clk-imx7ulp.c clk: imx: remove clk_count of imx_register_uart_clocks 2023-01-29 20:29:29 +02:00
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: imx8mm: Let IMX8MM_CLK_LCDIF_PIXEL set parent rate 2023-03-31 15:27:36 +03:00
clk-imx8mn.c clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe 2023-06-12 12:17:19 +03:00
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: imx8mp: fix sai4 clock 2023-08-14 12:31:33 +03:00
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 Merge branches 'clk-imx', 'clk-samsung', 'clk-annotate', 'clk-marvell' and 'clk-lmk' into clk-next 2023-08-30 14:39:19 -07:00
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 Merge branches 'clk-imx', 'clk-samsung', 'clk-annotate', 'clk-marvell' and 'clk-lmk' into clk-next 2023-08-30 14:39:19 -07:00
clk-imx25.c clk: imx25: make __mx25_clocks_init return void 2023-08-14 12:41:05 +03:00
clk-imx27.c clk: imx: Drop inclusion of unused header <soc/imx/timer.h> 2023-06-23 09:33:43 +02:00
clk-imx31.c clk: imx: Drop inclusion of unused header <soc/imx/timer.h> 2023-06-23 09:33:43 +02:00
clk-imx35.c clk: imx: Drop inclusion of unused header <soc/imx/timer.h> 2023-06-23 09:33:43 +02:00
clk-imx93.c This pull request is full of clk driver changes. In fact, there aren't any 2023-08-30 19:53:39 -07:00
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: imx: clk-imxrt1050: fix memory leak in imxrt1050_clocks_probe 2023-06-12 12:03:42 +03:00
clk-lpcg-scu.c clk: imx: Reference preceded by free 2021-04-04 22:39:05 +03:00
clk-pfd.c clk: imx: fix compile testing imxrt1050 2023-02-10 15:25:33 -08:00
clk-pfdv2.c clk: imx: Fix the build break when clk-imx8ulp build as module 2021-10-01 10:15:42 +03:00
clk-pll14xx.c clk: imx: pll14xx: change naming of fvco to fout 2023-12-21 15:00:00 +02:00
clk-pllv1.c clk: imx: pllv1: fix kernel-doc notation for struct clk_pllv1 2021-12-02 17:26:40 -08:00
clk-pllv2.c clk: imx: pllv2: Switch to clk_hw based API 2019-12-11 19:19:44 +08:00
clk-pllv3.c clk: imx: fix compile testing imxrt1050 2023-02-10 15:25:33 -08:00
clk-pllv4.c clk: imx: pllv4: Fix SPLL2 MULT range 2023-08-14 12:29:52 +03:00
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: imx: Add imx8dxl clk driver 2022-01-29 15:12:07 +02:00
clk-sscg-pll.c clk: imx: remove redundant re-assignment of pll->base 2022-03-09 10:39:25 -08:00
clk-vf610.c clk: imx: vf610: Add CRC clock 2020-08-23 10:08:35 +08:00
clk.c clk: imx: drop imx_unregister_clocks 2023-05-18 17:40:22 +03:00
clk.h clk: imx: pllv4: Fix SPLL2 MULT range 2023-08-14 12:29:52 +03:00
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