summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/phram.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-10-20 19:39:22 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-25 02:36:36 +0200
commit1cd844fe43cb6464b34dea504930c1a15e4ad38d (patch)
tree9ca1b00273c7a3c166030389c2daf1f5e60f0996 /drivers/mtd/devices/phram.c
parentmtd: OneNAND: S5PC110: Fix double call suspend & resume function (diff)
downloadlinux-1cd844fe43cb6464b34dea504930c1a15e4ad38d.tar.xz
linux-1cd844fe43cb6464b34dea504930c1a15e4ad38d.zip
mtd: phram: use KBUILD_MODNAME
Use the more standard #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt No change in output strings. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/devices/phram.c')
-rw-r--r--drivers/mtd/devices/phram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/phram.c b/drivers/mtd/devices/phram.c
index 1696bbecaa7e..52393282eaf1 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>