diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-01-15 16:58:08 -0500 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2015-01-26 07:43:34 -0500 |
commit | b9f122cc63ef7f30919b628bee48ab31501e3408 (patch) | |
tree | 90ed62740675b7f95342b9436e380a560151b966 /arch/arm/mach-at91/at91sam9rl.c | |
parent | 4fe604c8b3657c63354fef196509c1596058d9f2 (diff) |
ARM: at91: sam9: set arm_pm_idle from sam9_dt_device_init
As all sam9 SoCs are setting arm_pm_idle to at91sam9_idle(), do it from
sam9_dt_device_init().
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
[nicolas.ferre@atmel.com: adapt patch to newer series]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9rl.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9rl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c index 33acae30bb0b..6cb40e4ec20f 100644 --- a/arch/arm/mach-at91/at91sam9rl.c +++ b/arch/arm/mach-at91/at91sam9rl.c | |||
@@ -21,11 +21,5 @@ | |||
21 | * AT91SAM9RL processor initialization | 21 | * AT91SAM9RL processor initialization |
22 | * -------------------------------------------------------------------- */ | 22 | * -------------------------------------------------------------------- */ |
23 | 23 | ||
24 | static void __init at91sam9rl_initialize(void) | ||
25 | { | ||
26 | arm_pm_idle = at91sam9_idle; | ||
27 | } | ||
28 | |||
29 | AT91_SOC_START(at91sam9rl) | 24 | AT91_SOC_START(at91sam9rl) |
30 | .init = at91sam9rl_initialize, | ||
31 | AT91_SOC_END | 25 | AT91_SOC_END |