linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers/mtd/devices/phram.c: Use KBUILD_MODNAME
@ 2010-10-20 17:39 Joe Perches
  2010-10-21 10:37 ` Artem Bityutskiy
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Perches @ 2010-10-20 17:39 UTC (permalink / raw)
  To: Joern Engel; +Cc: linux-mtd, David Woodhouse, LKML

Use the more standard #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
No change in output strings.

Signed-off-by: Joe Perches <joe@perches.com>
---
diff --git a/drivers/mtd/devices/phram.c b/drivers/mtd/devices/phram.c
index 1696bbe..5239328 100644
--- a/drivers/mtd/devices/phram.c
+++ b/drivers/mtd/devices/phram.c
@@ -15,7 +15,7 @@
  *	phram=swap,64Mi,128Mi phram=test,900Mi,1Mi
  */
 
-#define pr_fmt(fmt) "phram: " fmt
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include <asm/io.h>
 #include <linux/init.h>

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-22  9:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-20 17:39 [PATCH] drivers/mtd/devices/phram.c: Use KBUILD_MODNAME Joe Perches
2010-10-21 10:37 ` Artem Bityutskiy
2010-10-22  8:39   ` Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).