Re: [PATCH] mfd: ab8500-sysctrl: Always enable pm_power_off handler
From: Lee Jones
Date: Mon May 13 2013 - 06:44:57 EST
On Thu, 09 May 2013, Fabio Baltieri 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@xxxxxxxxxx>
> ---
> drivers/mfd/ab8500-sysctrl.c | 6 +++++-
> include/linux/mfd/abx500/ab8500.h | 2 --
> 2 files changed, 5 insertions(+), 3 deletions(-)
The code looks good to me, but I'd like Linus' or Mattias' Ack before
I apply it.
--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/