summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2013-01-18 21:57:58 -0800
committerKukjin Kim <kgene.kim@samsung.com>2013-04-10 00:12:26 +0900
commit5db9f436213d81f053e3f6d69d367637b02fe95e (patch)
treee567e034340e9e32ccb24b7c80c6a8edae0bf56b /Kconfig
parent2eb89f893e44b1a9f48fa1cb6aa5e0d18ed66bb5 (diff)
downloadblackbird-op-linux-5db9f436213d81f053e3f6d69d367637b02fe95e.tar.gz
blackbird-op-linux-5db9f436213d81f053e3f6d69d367637b02fe95e.zip
ARM: EXYNOS: handle properly the return values
The cpuidle_register_driver return value is not checked. The init function returns always -EIO when cpuidle_register_device fails but the error could be different. This patch fixes that by checking the cpuidle_register_driver properly and returning the correct value when cpuidle_register_device fails. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Amit Daniel Kachhap <amit.daniel@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud