linux/arch/arm/mach-exynos
Daniel Lezcano 5db9f43621 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>
2013-04-10 00:12:26 +09:00
..
include/mach ARM: EXYNOS: Clear ENABLE_WAKEUP_SW bit when entering suspend 2013-04-04 15:15:49 +09:00
Kconfig Merge branches 'core', 'arm/omap', 'iommu/fixes', 'arm/tegra', 'arm/shmobile', 'arm/exynos', 'x86/vt-d' and 'x86/amd' into next 2013-02-19 15:45:17 +01:00
Makefile ARM: EXYNOS: remove system mmu initialization from exynos tree 2013-01-11 16:26:12 +01:00
Makefile.boot ARM: dts: Add basic dts file for Samsung Trats board 2012-09-21 10:50:27 +09:00
clock-exynos4.c ARM: EXYNOS: remove system mmu initialization from exynos tree 2013-01-11 16:26:12 +01:00
clock-exynos4.h ARM: EXYNOS: Move G2D clock entries to clock-exynos4210.c file 2012-07-17 07:52:03 +09:00
clock-exynos5.c ARM: EXYNOS: remove system mmu initialization from exynos tree 2013-01-11 16:26:12 +01:00
clock-exynos4210.c ARM: EXYNOS: remove system mmu initialization from exynos tree 2013-01-11 16:26:12 +01:00
clock-exynos4212.c ARM: EXYNOS: remove system mmu initialization from exynos tree 2013-01-11 16:26:12 +01:00
common.c ARM: EXYNOS: Add support for rtc wakeup 2013-03-07 16:27:59 +09:00
common.h ARM: exynos: move exynos4210-combiner to drivers/irqchip 2013-02-12 14:51:10 -08:00
cpuidle.c ARM: EXYNOS: handle properly the return values 2013-04-10 00:12:26 +09:00
dev-ahci.c ARM: EXYNOS: Use common macro to define resources on dev-ahci.c 2012-05-12 16:12:19 +09:00
dev-audio.c ARM: SAMSUNG: cleanup mach/regs-audss.h file 2013-01-10 10:45:18 -08:00
dev-ohci.c ARM: EXYNOS: reorder inclusions of <linux/platform_data/xxx.h> 2012-11-07 08:11:30 +09:00
dev-uart.c ARM: EXYNOS: Remove unused static uart resource information 2012-10-29 19:48:54 +09:00
dma.c ARM: EXYNOS: PL330 MDMA1 fix for revision 0 of Exynos4210 SOC 2012-11-20 20:39:39 +09:00
headsmp.S ARM: exynos: remove incorrect BSYM usage 2012-01-16 08:36:04 -06:00
hotplug.c ARM: EXYNOS: fix the hotplug for Cortex-A15 2012-11-28 07:42:04 +09:00
mach-armlex4210.c Initial irqchip init infrastructure and GIC and VIC clean-ups 2013-01-14 19:55:03 -08:00
mach-exynos4-dt.c IOMMU Updates for Linux v3.9 2013-02-26 11:09:17 -08:00
mach-exynos5-dt.c IOMMU Updates for Linux v3.9 2013-02-26 11:09:17 -08:00
mach-nuri.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-02-24 17:35:10 -08:00
mach-origen.c Initial irqchip init infrastructure and GIC and VIC clean-ups 2013-01-14 19:55:03 -08:00
mach-smdk4x12.c Initial irqchip init infrastructure and GIC and VIC clean-ups 2013-01-14 19:55:03 -08:00
mach-smdkv310.c Initial irqchip init infrastructure and GIC and VIC clean-ups 2013-01-14 19:55:03 -08:00
mach-universal_c210.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-02-24 17:35:10 -08:00
mct.c Initial irqchip init infrastructure and GIC and VIC clean-ups 2013-01-14 19:55:03 -08:00
platsmp.c irqchip: Move ARM gic.h to include/linux/irqchip/arm-gic.h 2013-01-12 10:47:32 -06:00
pm.c arm-soc: cleanups 2013-02-21 14:58:40 -08:00
pm_domains.c ARM: EXYNOS: Bind devices to power domains using DT 2012-11-22 00:38:59 +09:00
pmu.c ARM: EXYNOS: move mach/pmu.h file into common.h 2013-01-10 10:45:17 -08:00
setup-fimc.c ARM: EXYNOS: Add ARCH_EXYNOS and reorganize arch/arm/mach-exynos 2011-11-06 13:54:56 +09:00
setup-fimd0.c include/video: move fimd register headers from platform to include/video 2012-08-08 09:44:49 +09:00
setup-i2c0.c ARM: EXYNOS: add support for EXYNOS5440 SoC 2012-11-22 13:09:18 +09:00
setup-i2c1.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
setup-i2c2.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
setup-i2c3.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
setup-i2c4.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
setup-i2c5.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
setup-i2c6.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
setup-i2c7.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
setup-keypad.c ARM: EXYNOS: Add ARCH_EXYNOS and reorganize arch/arm/mach-exynos 2011-11-06 13:54:56 +09:00
setup-sdhci-gpio.c ARM: EXYNOS: Add ARCH_EXYNOS and reorganize arch/arm/mach-exynos 2011-11-06 13:54:56 +09:00
setup-spi.c ARM: SAMSUNG: Remove pdev pointer parameter from spi gpio setup functions 2012-07-13 15:23:46 +09:00
setup-usb-phy.c ARM: EXYNOS: Update HSOTG PHY clock setting for EXYNOS4X12 2012-07-13 06:45:55 +09:00