1
0
Fork 0
remarkable-linux/drivers/devfreq
Bjorn Andersson b3685e8e2b PM / devfreq: Propagate error from devfreq_add_device()
commit d1bf2d3072 upstream.

Propagate the error of devfreq_add_device() in devm_devfreq_add_device()
rather than statically returning ENOMEM. This makes it slightly faster
to pinpoint the cause of a returned error.

Fixes: 8cd84092d3 ("PM / devfreq: Add resource-managed function for devfreq device")
Cc: stable@vger.kernel.org
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:43:52 +01:00
..
event PM / devfreq: exynos-nocp: Remove redundant code 2016-10-10 23:56:22 +02:00
Kconfig PM / devfreq: rockchip: add PM_DEVFREQ_EVENT dependency 2016-09-19 13:12:17 +02:00
Makefile PM / devfreq: rockchip: add devfreq driver for rk3399 dmc 2016-09-06 13:26:34 +09:00
devfreq-event.c PM / devfreq: make devfreq-event explicitly non-modular 2016-07-06 13:11:22 +09:00
devfreq.c PM / devfreq: Propagate error from devfreq_add_device() 2018-02-22 15:43:52 +01:00
exynos-bus.c PM / devfreq: exynos-bus: Fix the wrong return value 2017-01-26 08:24:44 +01:00
governor.h PM / devfreq: Fix wrong trans_stat of passive devfreq device 2017-03-12 06:41:44 +01:00
governor_passive.c PM / devfreq: Fix wrong trans_stat of passive devfreq device 2017-03-12 06:41:44 +01:00
governor_performance.c PM / devfreq: governors: add GPL module license and allow module build 2012-11-20 18:46:23 +09:00
governor_powersave.c PM / devfreq: governors: add GPL module license and allow module build 2012-11-20 18:46:23 +09:00
governor_simpleondemand.c PM / devfreq: cache the last call to get_dev_status() 2015-09-11 14:23:28 +09:00
governor_userspace.c PM / devfreq: governors: add GPL module license and allow module build 2012-11-20 18:46:23 +09:00
rk3399_dmc.c PM / devfreq: rk3399_dmc: Remove explictly regulator_put call in .remove 2016-09-19 13:36:20 +02:00
tegra-devfreq.c PM / devfreq: tegra: Set freq in rate callback 2016-02-23 14:27:42 +09:00