Re: [PATCH] gpio-ep93xx: fix pr_fmt output

From: Grant Likely
Date: Tue Jun 07 2011 - 19:14:08 EST


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@xxxxxxxxxxxxxxxxxxx>
> Cc: Grant Likely <grant.likely@xxxxxxxxxxxx>

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>
--
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/