Re: [PATCH 16/23] msi-wmi: Use pr_fmt and pr_<level>
From: Anisse Astier
Date: Wed Mar 30 2011 - 10:20:30 EST
Hi Joe,
On Tue, 29 Mar 2011 15:21:47 -0700, Joe Perches <joe@xxxxxxxxxxx> wrote :
> Added pr_fmt.
> Removed now unused #define DRV_PFX
> Convert dprintk to pr_debug.
> Convert printks to pr_<level>.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
Acked-by: Anisse Astier <anisse@xxxxxxxxx>
I've been wanting to do that since I replaced original dprintk
implementation with pr_debug. I just didn't know you could use the
pr_fmt() macro to manipulate prefixes.
Regards,
Anisse
> ---
> drivers/platform/x86/msi-wmi.c | 45 +++++++++++++++++----------------------
> 1 files changed, 20 insertions(+), 25 deletions(-)
>
--
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/