android_kernel_lge_bullhead/include/linux/mfd/abx500
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
..
ab8500-bm.h ab8500_btemp: Make ab8500_btemp_get* interfaces public 2013-04-16 17:32:48 -07:00
ab8500-codec.h ASoC: codecs: Enable AB8500 CODEC for Device Tree 2012-09-20 09:10:57 +02:00
ab8500-gpadc.h mfd: ab8500-debug: Add support for the AB8540 2013-03-07 12:28:28 +08:00
ab8500-gpio.h ARM: ux500: remove irq_base property from platform_data 2013-02-10 15:49:43 +01:00
ab8500-sysctrl.h mfd: ab8500-sysctrl: Add new reset function 2013-03-07 12:28:16 +08:00
ab8500.h mfd: ab8500-sysctrl: Always enable pm_power_off handler 2013-05-17 00:42:33 +02:00
ux500_chargalg.h ab8500-bm: Add usb power path support 2013-03-07 12:35:46 +08:00