From: Pramod Gurav Date: Thu, 25 Sep 2014 11:33:51 +0000 (+0530) Subject: power: reset: use restart_notifier mechanism for msm-poweroff X-Git-Tag: omap-for-v3.19/prcm-cleanup~67^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18a702e0de9879d5c0225a09f494443f0b91a0cc;p=pandora-kernel.git 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 Cc: Josh Cartwright Cc: Sebastian Reichel Cc: Dmitry Eremin-Solenikov Cc: David Woodhouse Cc: Stephen Boyd Cc: linux-pm@vger.kernel.org Reviewed-by: Guenter Roeck Reviewed-by: Stephen Boyd Signed-off-by: Pramod Gurav Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed