summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/db8500-prcmu.c
diff options
context:
space:
mode:
authorFabio Baltieri2013-05-09 13:08:08 +0200
committerSamuel Ortiz2013-05-17 00:42:33 +0200
commit0b8ebdb18888c55588b932f4f564b9c9529de627 (patch)
tree9ed650b39b506419a9162e96c098b3998377eaff /drivers/mfd/db8500-prcmu.c
parentmfd: ab8500-core: Pass GPADC compatible string to MFD core (diff)
downloadkernel-qcow2-linux-0b8ebdb18888c55588b932f4f564b9c9529de627.tar.gz
kernel-qcow2-linux-0b8ebdb18888c55588b932f4f564b9c9529de627.tar.xz
kernel-qcow2-linux-0b8ebdb18888c55588b932f4f564b9c9529de627.zip
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 <linus.walleij@linaro.org> Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/db8500-prcmu.c')
0 files changed, 0 insertions, 0 deletions