Re: [PATCH v3] mfd/ab8500: print switch off cause

From: Samuel Ortiz
Date: Fri Jun 29 2012 - 11:36:07 EST


Hi Linus,

On Tue, Jun 05, 2012 at 10:11:34AM +0200, Linus Walleij wrote:
> From: Jonas Aaberg <jonas.aberg@xxxxxxxxxxxxxx>
>
> Instead of just printing the register value, also output some
> description of the value.
>
> Signed-off-by: Jonas Aaberg <jonas.aberg@xxxxxxxxxxxxxx>
> Reviewed-by: Mattias Wallin <mattias.wallin@xxxxxxxxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
> ChangeLog v2->v3:
> - Use printk() with KERN_CONT instead of separate dev_* or
> printk() calls. (Review comment from Joe Perches.)
> ChangeLog v1->v2:
> - Print each cause on its own line with a tab to avoid missing
> initial cause heading if loglevel < info.
> ---
> drivers/mfd/ab8500-core.c | 25 ++++++++++++++++++++++++-
> 1 file changed, 24 insertions(+), 1 deletion(-)
Patch applied, sorry for missing this one during the 3.5 merge window.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
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/