diff options
author | Pramod Gurav <pramod.gurav@smartplayin.com> | 2014-09-25 07:33:51 -0400 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2014-09-26 13:54:33 -0400 |
commit | 18a702e0de9879d5c0225a09f494443f0b91a0cc (patch) | |
tree | 5b7ad26d477002d20f79caaf7314c775b833e5f2 /drivers/power/rx51_battery.c | |
parent | 371bb20d6927f204ef5a7887ecddb06b2501c0d9 (diff) |
power: reset: use restart_notifier mechanism for msm-poweroff
This change replaces use of arm_pm_restart with recently introduced
reset mechanism in Linux kernel called restart_notifier.
Choosing priority 128, which is default priority, as according to
documentation, this mechanism is sufficient to restart the entire system.
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Josh Cartwright <joshc@codeaurora.org>
Cc: Sebastian Reichel <sre@kernel.org>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-pm@vger.kernel.org
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/rx51_battery.c')
0 files changed, 0 insertions, 0 deletions