Fabio Baltieri 0b8ebdb188 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>
2013-05-17 00:42:33 +02:00
..
2013-01-27 01:35:32 +01:00
2012-11-28 12:22:27 -08:00
2012-10-07 17:29:24 +09:00
2012-11-23 12:09:19 +01:00
2013-04-05 11:20:13 +02:00
2012-09-23 20:51:34 +02:00
2013-02-14 00:23:00 +01:00
2013-04-19 00:45:20 +02:00
2013-04-19 18:29:18 +02:00
2013-04-26 17:23:30 +02:00
2012-11-30 12:20:35 +01:00