linux/drivers/clk/uniphier
Uwe Kleine-König 0d086cc521 clk: uniphier: 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-29-u.kleine-koenig@pengutronix.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2023-03-28 19:31:45 -07:00
..
clk-uniphier-core.c clk: uniphier: Convert to platform remove callback returning void 2023-03-28 19:31:45 -07:00
clk-uniphier-cpugear.c clk: uniphier: use semicolons rather than commas to separate statements 2020-10-13 17:43:03 -07:00
clk-uniphier-fixed-factor.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
clk-uniphier-fixed-rate.c clk: uniphier: Fix fixed-rate initialization 2022-03-11 19:29:02 -08:00
clk-uniphier-gate.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
clk-uniphier-mio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
clk-uniphier-mux.c clk: uniphier: Fix potential infinite loop 2021-04-12 19:09:59 -07:00
clk-uniphier-peri.c clk: uniphier: Add SCSSI clock gate for each channel 2020-01-04 23:14:22 -08:00
clk-uniphier-sys.c clk: uniphier: Add SoC-glue clock source selector support for Pro4 2021-11-02 14:34:51 -07:00
clk-uniphier.h clk: uniphier: Add SoC-glue clock source selector support for Pro4 2021-11-02 14:34:51 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00