power/reset: at91: Register with kernel restart handler
authorGuenter Roeck <linux@roeck-us.net>
Sun, 25 Jan 2015 20:30:41 +0000 (12:30 -0800)
committerSebastian Reichel <sre@kernel.org>
Sun, 25 Jan 2015 21:12:45 +0000 (22:12 +0100)
commit481ff6ff967fefdbfb967f7251e40c22a312d244
treea68b3b9896354c10f535f101d23f51d79ecce626
parent25a5b57dd76fbcbcb4107aa95400862cb924470d
power/reset: at91: Register with kernel restart handler

Register with kernel restart handler instead of setting arm_pm_restart
directly. Register with high priority since the driver unconditionally
overwrites other restart handlers if instantiated.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/reset/at91-reset.c