Skip to contentSkip to conversation

gpio-ep93xx: fix pr_fmt output

PATCH Applied H Hartley Sweeten 2 participants 2 messages Jun 7, 2011 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio-ep93xx: fix pr_fmt output

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.

---

drivers/gpio/gpio-ep93xx.c +1 -1
index c33c9a8..3d427b9 100644
@@ -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>
Applied
#1 lore raw
Quoted 6 lines · H Hartley Sweeten

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.

Applied, thanks.

g.

Quoted 16 lines

---

drivers/gpio/gpio-ep93xx.c +1 -1
index c33c9a8..3d427b9 100644
@@ -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>