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
..
2017-06-14 16:48:03 -07:00
2017-05-04 19:15:35 -07:00
2017-06-16 17:38:23 +09:00
2017-06-01 14:49:47 -04:00
2017-06-18 08:51:35 +09:00
2017-05-05 19:33:07 -07:00
2017-06-15 17:37:40 +09:00
2017-06-30 10:55:34 -07:00
2017-04-17 00:42:22 +02:00
2017-06-19 14:24:41 -04:00
2017-04-20 09:54:24 +02:00
2017-06-27 17:44:05 -06:00
2017-05-09 10:01:15 -07:00
2017-06-16 17:30:44 +09:00
2017-05-04 19:15:35 -07:00
2017-06-23 12:25:37 -07:00
2017-06-18 08:36:30 +09:00
2017-05-18 23:54:47 -07:00
2017-06-04 10:23:25 +02:00
2017-06-18 08:39:54 +09:00
2017-05-05 11:36:44 -07:00
2017-06-09 09:59:51 -07:00