diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-07 13:25:12 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-07 13:25:12 -0500 |
commit | adf9684588ec1769b77a9e1c7c68fbad49ec5e43 (patch) | |
tree | 092084faf9de9dd146363f9dac6d88ebdbfb86f1 /arch | |
parent | 230b4b376e6b860275dccb1c00e7c213ed7fe311 (diff) | |
parent | f612a4fbdc8d6c77eb3721557f64bf0653ee5299 (diff) |
Merge branch 'pm-cpuidle'
* pm-cpuidle:
ARM: EXYNOS: Remove incorrect __init annotation from cpuidle driver
ARM: EXYNOS: Use dev_err() instead of printk() for cpuidle driver
intel_idle: use CPU_TASKS_FROZEN instead of a numeric constant
cpuidle: remove cpuidle_unregister_governor()
cpuidle: don't call poll_idle_init() for every cpu
cpuidle: use drv instead of cpuidle_driver in show_current_driver()
cpuidle: call cpuidle_get_driver() from after taking cpuidle_driver_lock
cpuidle: replace multiline statements with single line in cpuidle_idle_call()
cpuidle: reduce code duplication inside cpuidle_idle_call()
cpuidle: merge two if() statements for checking error cases
cpuidle: rearrange __cpuidle_register_device() to keep minimal exit points
cpuidle: rearrange code in __cpuidle_driver_init()
cpuidle: make __cpuidle_driver_init() return void
cpuidle: make __cpuidle_device_init() return void
cpuidle: Fix comments in cpuidle core
cpuidle: fix indentation of cpumask
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-exynos/cpuidle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c index 1bde6ad07d93..ddbfe8709fe7 100644 --- a/arch/arm/mach-exynos/cpuidle.c +++ b/arch/arm/mach-exynos/cpuidle.c | |||
@@ -193,7 +193,7 @@ static void __init exynos5_core_down_clk(void) | |||
193 | __raw_writel(tmp, EXYNOS5_PWR_CTRL2); | 193 | __raw_writel(tmp, EXYNOS5_PWR_CTRL2); |
194 | } | 194 | } |
195 | 195 | ||
196 | static int __init exynos_cpuidle_probe(struct platform_device *pdev) | 196 | static int exynos_cpuidle_probe(struct platform_device *pdev) |
197 | { | 197 | { |
198 | int cpu_id, ret; | 198 | int cpu_id, ret; |
199 | struct cpuidle_device *device; | 199 | struct cpuidle_device *device; |
@@ -206,7 +206,7 @@ static int __init exynos_cpuidle_probe(struct platform_device *pdev) | |||
206 | 206 | ||
207 | ret = cpuidle_register_driver(&exynos4_idle_driver); | 207 | ret = cpuidle_register_driver(&exynos4_idle_driver); |
208 | if (ret) { | 208 | if (ret) { |
209 | printk(KERN_ERR "CPUidle failed to register driver\n"); | 209 | dev_err(&pdev->dev, "failed to register cpuidle driver\n"); |
210 | return ret; | 210 | return ret; |
211 | } | 211 | } |
212 | 212 | ||
@@ -220,7 +220,7 @@ static int __init exynos_cpuidle_probe(struct platform_device *pdev) | |||
220 | 220 | ||
221 | ret = cpuidle_register_device(device); | 221 | ret = cpuidle_register_device(device); |
222 | if (ret) { | 222 | if (ret) { |
223 | printk(KERN_ERR "CPUidle register device failed\n"); | 223 | dev_err(&pdev->dev, "failed to register cpuidle device\n"); |
224 | return ret; | 224 | return ret; |
225 | } | 225 | } |
226 | } | 226 | } |