aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2013-01-18 21:57:58 -0800
committerKukjin Kim <[email protected]>2013-04-10 00:12:26 +0900
commit5db9f436213d81f053e3f6d69d367637b02fe95e (patch)
treee567e034340e9e32ccb24b7c80c6a8edae0bf56b /lib/mpi/mpi-cmp.c
parent2eb89f893e44b1a9f48fa1cb6aa5e0d18ed66bb5 (diff)
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 <[email protected]> Acked-by: Amit Daniel Kachhap <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions