linux/drivers/devfreq
Uwe Kleine-König 0df0258600 PM / devfreq: mtk-cci: 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>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2024-05-08 23:53:08 +09:00
..
event PM / devfreq: exynos-ppmu: Convert to platform remove callback returning void 2024-05-08 23:53:08 +09:00
devfreq-event.c driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
devfreq.c PM / devfreq: Synchronize devfreq_monitor_[start/stop] 2023-12-19 07:58:27 +09:00
exynos-bus.c PM / devfreq: exynos: add Exynos PPMU as a soft module dependency 2023-05-29 23:24:13 +09:00
governor_passive.c PM / devfreq: passive: revert an editing accident in SPDX-License line 2022-06-30 05:11:17 +09:00
governor_performance.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
governor_powersave.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
governor_simpleondemand.c PM / devfreq: Add governor attribute flag for specifc sysfs nodes 2020-10-26 11:46:54 +09:00
governor_userspace.c PM/devfreq: governor: Add a private governor_data for governor 2022-11-20 20:49:51 +09:00
governor.h PM / devfreq: passive: Keep cpufreq_policy for possible cpus 2022-05-17 18:24:39 +09:00
imx8m-ddrc.c PM / devfreq: Explicitly include correct DT includes 2023-07-24 05:19:26 +09:00
imx-bus.c PM / devfreq: Explicitly include correct DT includes 2023-07-24 05:19:26 +09:00
Kconfig PM / devfreq: Remove "select SRCU" 2023-03-13 19:36:15 +09:00
Makefile PM / devfreq: mediatek: Introduce MediaTek CCI devfreq driver 2022-07-15 11:40:08 +09:00
mtk-cci-devfreq.c PM / devfreq: mtk-cci: Convert to platform remove callback returning void 2024-05-08 23:53:08 +09:00
rk3399_dmc.c PM / devfreq: rk3399_dmc,dfi: generalize DDRTYPE defines 2023-10-19 20:39:08 +09:00
sun8i-a33-mbus.c PM / devfreq: Add a driver for the sun8i/sun50i MBUS 2021-12-10 15:56:07 +09:00
tegra30-devfreq.c PM / devfreq: Explicitly include correct DT includes 2023-07-24 05:19:26 +09:00