summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9261.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-01-15 22:58:08 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2015-01-26 13:43:34 +0100
commitb9f122cc63ef7f30919b628bee48ab31501e3408 (patch)
tree90ed62740675b7f95342b9436e380a560151b966 /arch/arm/mach-at91/at91sam9261.c
parentARM: at91: fix sam9n12 and sam9x5 arm_pm_idle (diff)
downloadlinux-b9f122cc63ef7f30919b628bee48ab31501e3408.tar.xz
linux-b9f122cc63ef7f30919b628bee48ab31501e3408.zip
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/at91sam9261.c')
-rw-r--r--arch/arm/mach-at91/at91sam9261.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/at91sam9261.c b/arch/arm/mach-at91/at91sam9261.c
index 2029096b93fa..aebbf76b6038 100644
--- a/arch/arm/mach-at91/at91sam9261.c
+++ b/arch/arm/mach-at91/at91sam9261.c
@@ -21,11 +21,5 @@
* AT91SAM9261 processor initialization
* -------------------------------------------------------------------- */
-static void __init at91sam9261_initialize(void)
-{
- arm_pm_idle = at91sam9_idle;
-}
-
AT91_SOC_START(at91sam9261)
- .init = at91sam9261_initialize,
AT91_SOC_END