linux/drivers/devfreq
Gustavo A. R. Silva 9e578b3750 PM / devfreq: tegra: fix error return code in tegra_devfreq_probe()
platform_get_irq() returns an error code, but the tegra-devfreq
driver ignores it and always returns -ENODEV. This is not correct,
and prevents -EPROBE_DEFER from being propagated properly.

Notice that platform_get_irq() no longer returns 0 on error:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e330b9a6bb35dc7097a4f02cb1ae7b6f96df92af

Print and propagate the return value of platform_get_irq on failure.

Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-07-06 10:16:17 +09:00
..
event PM / devfreq: exynos-ppmu: Staticize event list 2017-06-12 10:12:07 +09: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: Simplify the sysfs name of devfreq-event device 2017-01-31 16:57:05 +09:00
devfreq.c scripts/spelling.txt: add "followings" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
exynos-bus.c Merge branch 'pm-devfreq' 2017-02-20 14:23:40 +01:00
governor.h PM / devfreq: Move struct devfreq_governor to devfreq directory 2017-04-12 12:42:14 +09:00
governor_passive.c Merge branch 'pm-devfreq' 2017-02-20 14:23:40 +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: Fix the wrong description for userspace governor 2017-01-31 14:12:19 +09:00
rk3399_dmc.c PM / devfreq: rk3399_dmc: fix error return code in rk3399_dmcfreq_probe() 2017-07-06 10:15:22 +09:00
tegra-devfreq.c PM / devfreq: tegra: fix error return code in tegra_devfreq_probe() 2017-07-06 10:16:17 +09:00