power/reset: arm-versatile: Register with kernel restart handler
authorGuenter Roeck <linux@roeck-us.net>
Sun, 25 Jan 2015 20:30:40 +0000 (12:30 -0800)
committerSebastian Reichel <sre@kernel.org>
Sun, 25 Jan 2015 21:12:45 +0000 (22:12 +0100)
commit25a5b57dd76fbcbcb4107aa95400862cb924470d
tree3cc34c636362f41884c97cc120183e8bdbf332b0
parenta30067bb541f834b22c9cfa2dd99ebe3da709115
power/reset: arm-versatile: Register with kernel restart handler

Register with kernel restart handler instead of setting arm_pm_restart
directly. Select high priority since the restart handler is instantiated
through devicetree, indicating that it should be used if configured.

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