power/restart: call machine_restart instead of arm_pm_restart
authorGuenter Roeck <linux@roeck-us.net>
Fri, 26 Sep 2014 00:03:16 +0000 (00:03 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 26 Sep 2014 07:00:11 +0000 (00:00 -0700)
commit0713e143c943c4f14aa5db1903bdbfd1356a2bb3
tree969fc8786bc7e1a2ab526b0b2d84bca9070d2095
parentb63adb979583ef185718d774d8162387db5589c0
power/restart: call machine_restart instead of arm_pm_restart

machine_restart is supported on non-ARM platforms, and and ultimately
calls arm_pm_restart, so dont call arm_pm_restart directly but use the
more generic function.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jonas Jensen <jonas.jensen@gmail.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Tomasz Figa <t.figa@samsung.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/power/reset/restart-poweroff.c