diff mbox

drivers/mtd/devices/phram.c: Use KBUILD_MODNAME

Message ID 1287596362.1813.205.camel@Joe-Laptop
State Accepted
Commit 1cd844fe43cb6464b34dea504930c1a15e4ad38d
Headers show

Commit Message

Joe Perches Oct. 20, 2010, 5:39 p.m. UTC
Use the more standard #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
No change in output strings.

Signed-off-by: Joe Perches <joe@perches.com>
---

Comments

Artem Bityutskiy Oct. 21, 2010, 10:37 a.m. UTC | #1
On Wed, 2010-10-20 at 10:39 -0700, Joe Perches wrote:
> Use the more standard #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> No change in output strings.
> 
> Signed-off-by: Joe Perches <joe@perches.com>

Pushed to l2-mtd-2.6.git, thanks.
Jörn Engel Oct. 22, 2010, 8:39 a.m. UTC | #2
On Thu, 21 October 2010 13:37:32 +0300, Artem Bityutskiy wrote:
> On Wed, 2010-10-20 at 10:39 -0700, Joe Perches wrote:
> > Use the more standard #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> > No change in output strings.
> > 
> > Signed-off-by: Joe Perches <joe@perches.com>
> 
> Pushed to l2-mtd-2.6.git, thanks.

Fine with me. (aka Acked-By:)

Jörn
diff mbox

Patch

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>