[PATCH] mfd: ab8500-sysctrl: Always enable pm_power_off handler

Linus Walleij linus.walleij at linaro.org
Tue May 14 04:49:14 EDT 2013


On Thu, May 9, 2013 at 1:08 PM, Fabio Baltieri
<fabio.baltieri at linaro.org> wrote:

> 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.
>
> Signed-off-by: Fabio Baltieri <fabio.baltieri at linaro.org>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list