[RFC PATCH] power/restart: Call machine_restart instead of arm_pm_restart

2014-06-30 Thread Guenter Roeck
machine_restart is supported on non-ARM platforms, and ultimately calls arm_pm_restart, so dont call arm_pm_restart directly but use the more generic function. Cc: Russell King Signed-off-by: Guenter Roeck --- drivers/power/reset/restart-poweroff.c | 3 ++- 1 file changed, 2 insertions(+), 1

[RFC PATCH] power/restart: Call machine_restart instead of arm_pm_restart

2014-06-30 Thread Guenter Roeck
machine_restart is supported on non-ARM platforms, and ultimately calls arm_pm_restart, so dont call arm_pm_restart directly but use the more generic function. Cc: Russell King li...@arm.linux.org.uk Signed-off-by: Guenter Roeck li...@roeck-us.net --- drivers/power/reset/restart-poweroff.c | 3