mtd: phram: use KBUILD_MODNAME

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Oct 24 20:59:12 EDT 2010


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=1cd844fe43cb6464b34dea504930c1a15e4ad38d
Commit:     1cd844fe43cb6464b34dea504930c1a15e4ad38d
Parent:     2316d3bc95ff65b7c0c40c70db83455912cf0328
Author:     Joe Perches <joe at perches.com>
AuthorDate: Wed Oct 20 10:39:22 2010 -0700
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Oct 25 01:36:36 2010 +0100

    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 at perches.com>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/devices/phram.c |    2 +-
 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>



More information about the linux-mtd-cvs mailing list