From: Fabio Baltieri Date: Thu, 9 May 2013 11:08:08 +0000 (+0200) Subject: mfd: ab8500-sysctrl: Always enable pm_power_off handler X-Git-Tag: v3.10-rc3~32^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b8ebdb18888c55588b932f4f564b9c9529de627;p=pandora-kernel.git mfd: ab8500-sysctrl: Always enable pm_power_off handler AB8500 sysctrl driver implements a pm_power_off handler, but that is currently not registered until a specific platform data field is enabled. This patch drops the platform data field and always registers ab8500_power_off if no other pm_power_off handler was defined before, and also introduces the necessary cleanup code in the driver's remove function. Acked-by: Linus Walleij Signed-off-by: Fabio Baltieri Signed-off-by: Lee Jones Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed