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