From: Guenter Roeck Date: Tue, 30 Sep 2014 17:48:34 +0000 (-0700) Subject: power/reset: keystone: Register with kernel restart handler X-Git-Tag: omap-for-v3.20/drop-legacy-3517~72^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f59a42d4e177564b9892112af7a4e73d0c91f9b4;p=pandora-kernel.git 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 Cc: Santosh Shilimkar Acked-by: Santosh Shilimkar Tested-by: Ivan Khoronzhuk Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed