diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-09-30 21:48:34 +0400 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2014-11-17 05:07:10 +0300 |
commit | f59a42d4e177564b9892112af7a4e73d0c91f9b4 (patch) | |
tree | a89118ebc730e4a4b053d2de76dee1a563eefa18 /drivers/power/reset/hisi-reboot.c | |
parent | fcf01c51f0f5565a184638b7d055e590aad6c0f8 (diff) | |
download | linux-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