[PATCH] pcmcia: cm4040 remove KERN_INFO as it is not at start of printk message
From: Colin King
Date: Mon May 16 2016 - 08:12:46 EST
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
The debug is being printed using DEBUGP which prepends the string
with and so the KERN_INFO text should not be included. Also remove the
MODULE_NAME to keep this consistent with other DEBUGP debug messages.
Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
drivers/char/pcmcia/cm4040_cs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/pcmcia/cm4040_cs.c b/drivers/char/pcmcia/cm4040_cs.c
index fc061f7..4a606f1 100644
--- a/drivers/char/pcmcia/cm4040_cs.c
+++ b/drivers/char/pcmcia/cm4040_cs.c
@@ -506,7 +506,7 @@ static void cm4040_reader_release(struct pcmcia_device *link)
DEBUGP(3, dev, "-> cm4040_reader_release\n");
while (link->open) {
- DEBUGP(3, dev, KERN_INFO MODULE_NAME ": delaying release "
+ DEBUGP(3, dev, "delaying release "
"until process has terminated\n");
wait_event(dev->devq, (link->open == 0));
}
--
2.8.1