summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-10-20 17:39:22 (GMT)
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-25 00:36:36 (GMT)
commit1cd844fe43cb6464b34dea504930c1a15e4ad38d (patch)
tree9ca1b00273c7a3c166030389c2daf1f5e60f0996 /drivers/mtd
parent2316d3bc95ff65b7c0c40c70db83455912cf0328 (diff)
downloadlinux-fsl-qoriq-1cd844fe43cb6464b34dea504930c1a15e4ad38d.tar.xz
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')
-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 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>