OSDN Git Service

ARM: at91: at91rm9200: set idle and restart from rm9200_dt_device_init()
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 26 Jan 2015 18:02:54 +0000 (19:02 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 2 Feb 2015 10:01:26 +0000 (11:01 +0100)
commit7d7ffd7bae4c15400e0cf8ef61ce4679a4472409
tree9ae8e81a3101cb0bacf1a83bd7b5fccafce19a35
parent980657d8cdff97343619cf2e3332b8307e9d07ea
ARM: at91: at91rm9200: set idle and restart from rm9200_dt_device_init()

Setup arm_pm_idle and arm_pm_restart function pointers from
rm9200_dt_device_init() function to simplify the at91rm9200 initialization
process.
This same move is already done for the sam9s.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
[nicolas.ferre@atmel.com: adapt patch to newer series]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/at91rm9200.c
arch/arm/mach-at91/board-dt-rm9200.c