From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.perches.com ([173.55.12.10]) by canuck.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1P8cdN-0002ff-2P for linux-mtd@lists.infradead.org; Wed, 20 Oct 2010 17:39:31 +0000 Subject: [PATCH] drivers/mtd/devices/phram.c: Use KBUILD_MODNAME From: Joe Perches To: Joern Engel Content-Type: text/plain; charset="UTF-8" Date: Wed, 20 Oct 2010 10:39:22 -0700 Message-ID: <1287596362.1813.205.camel@Joe-Laptop> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: linux-mtd , David Woodhouse , LKML List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Use the more standard #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt No change in output strings. Signed-off-by: Joe Perches --- 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 #include