linux-stable/drivers/clk/x86
Uwe Kleine-König 4690d24624 clk: x86: 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/20230312161512.2715500-30-u.kleine-koenig@pengutronix.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2023-03-28 19:31:45 -07:00
..
Kconfig clk: mxl: Switch from direct readl/writel based IO to regmap based IO 2022-10-17 14:17:37 -07:00
Makefile platform/x86: Drop the PMC_ATOM Kconfig option 2022-06-12 14:41:22 +02:00
clk-cgu-pll.c clk: mxl: Remove redundant spinlocks 2022-10-17 14:17:37 -07:00
clk-cgu.c clk: mxl: Fix a clk entry by adding relevant flags 2022-10-17 15:27:48 -07:00
clk-cgu.h clk: mxl: Fix a clk entry by adding relevant flags 2022-10-17 15:27:48 -07:00
clk-fch.c clk: x86: Convert to platform remove callback returning void 2023-03-28 19:31:45 -07:00
clk-lgm.c clk: mxl: syscon_node_to_regmap() returns error pointers 2022-10-26 17:39:33 -07:00
clk-lpss-atom.c clk: x86: Rename clk-lpt to more specific clk-lpss-atom 2021-07-27 14:03:47 -07:00
clk-pmc-atom.c clk: x86: Convert to platform remove callback returning void 2023-03-28 19:31:45 -07:00