kernel_optimize_test/drivers/devfreq
YueHaibing 4dcb59d6a2 PM / devfreq: Add missing error code in devfreq_add_device()
[ Upstream commit 18b380ed61f892ed06838d1f1a5124d966292ed3 ]

Set err code in the error path before jumping to the end of the function.

Fixes: 4dc3bab868 ("PM / devfreq: Add support delayed timer for polling mode")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:11 +02:00
..
event PM / devfreq: exynos: Rename Exynos to lowercase 2020-01-06 10:50:09 +09:00
devfreq-event.c PM / devfreq: event: Change prototype of devfreq_event_get_edev_by_phandle function 2020-09-29 17:50:10 +09:00
devfreq.c PM / devfreq: Add missing error code in devfreq_add_device() 2021-07-14 16:56:11 +02:00
exynos-bus.c PM / devfreq: event: Change prototype of devfreq_event_get_edev_by_phandle function 2020-09-29 17:50:10 +09:00
governor_passive.c PM / devfreq: passive: fix compiler warning 2019-08-26 21:37:37 +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: Change to DEVFREQ_GOV_UPDATE_INTERVAL event name 2020-03-25 08:35:03 +09:00
governor_userspace.c PM / devfreq: Use constant name of userspace governor 2020-03-25 08:35:03 +09:00
governor.h PM / devfreq: Fix a typo in a comment 2020-03-25 08:35:03 +09:00
imx-bus.c PM / devfreq: imx-bus: Fix inconsistent IS_ERR and PTR_ERR 2020-05-28 18:02:40 +09:00
imx8m-ddrc.c PM / devfreq: imx8m-ddrc: Fix inconsistent IS_ERR and PTR_ERR 2019-12-31 03:09:57 +09:00
Kconfig PM / devfreq: Add generic imx bus scaling driver 2020-05-28 18:02:39 +09:00
Makefile PM / devfreq: Add generic imx bus scaling driver 2020-05-28 18:02:39 +09:00
rk3399_dmc.c PM / devfreq: event: Change prototype of devfreq_event_get_edev_by_phandle function 2020-09-29 17:50:10 +09:00
tegra20-devfreq.c PM / devfreq: Introduce driver for NVIDIA Tegra20 2019-08-24 20:11:12 +09:00
tegra30-devfreq.c PM / devfreq: tegra30: Improve initial hardware resetting 2020-09-29 17:50:10 +09:00