lkml.org 
[lkml]   [2011]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] gpio-ep93xx: fix pr_fmt output
On Tue, Jun 07, 2011 at 01:52:01PM -0700, H Hartley Sweeten wrote:
> With this driver now being moved from arch/arm/mach-ep93xx/gpio.c to
> drivers/gpio/gpio-ep93xx.c the prefix "ep93xx" is now redundant in the
> pr_* output. Using KBUILD_MODNAME is sufficient.
>
> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
> Cc: Grant Likely <grant.likely@secretlab.ca>

Applied, thanks.

g.

>
> ---
>
> diff --git a/drivers/gpio/gpio-ep93xx.c b/drivers/gpio/gpio-ep93xx.c
> index c33c9a8..3d427b9 100644
> --- a/drivers/gpio/gpio-ep93xx.c
> +++ b/drivers/gpio/gpio-ep93xx.c
> @@ -11,7 +11,7 @@
> * published by the Free Software Foundation.
> */
>
> -#define pr_fmt(fmt) "ep93xx " KBUILD_MODNAME ": " fmt
> +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
>
> #include <linux/init.h>
> #include <linux/module.h>


\
 
 \ /
  Last update: 2011-06-08 01:17    [from the cache]
©2003-2011 Jasper Spaans