summaryrefslogtreecommitdiff
path: root/drivers/power/reset/hisi-reboot.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-09-30 21:48:34 +0400
committerSebastian Reichel <sre@kernel.org>2014-11-17 05:07:10 +0300
commitf59a42d4e177564b9892112af7a4e73d0c91f9b4 (patch)
treea89118ebc730e4a4b053d2de76dee1a563eefa18 /drivers/power/reset/hisi-reboot.c
parentfcf01c51f0f5565a184638b7d055e590aad6c0f8 (diff)
downloadlinux-f59a42d4e177564b9892112af7a4e73d0c91f9b4.tar.xz
power/reset: keystone: Register with kernel restart handler
Register with kernel restart handler instead of setting arm_pm_restart directly. Move notifier registration to the end of the probe function to avoid having to implement error handling. Cc: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> Cc: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Tested-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/power/reset/hisi-reboot.c')
0 files changed, 0 insertions, 0 deletions