diff options
author | Fabio Baltieri <[email protected]> | 2013-05-09 13:08:08 +0200 |
---|---|---|
committer | Samuel Ortiz <[email protected]> | 2013-05-17 00:42:33 +0200 |
commit | 0b8ebdb18888c55588b932f4f564b9c9529de627 (patch) | |
tree | 9ed650b39b506419a9162e96c098b3998377eaff /lib/memory-notifier-error-inject.c | |
parent | 955de2eab3fd89bc6d5735817710926ba5817450 (diff) |
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 <[email protected]>
Signed-off-by: Fabio Baltieri <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions