[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1340343886-311-1-git-send-email-sherwin@wybc.com>
Date: Fri, 22 Jun 2012 01:44:46 -0400
From: Sherwin Soltani <sherwin@...c.com>
To: greg@...ah.com
Cc: swetland@...gle.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, Sherwin Soltani <sherwin@...c.com>
Subject: [PATCH] Staging: android: logger.c: fixed some printk macros
Changed a few printk messages in logger.c to make checkpatch.pl happy.
Signed-off-by: Sherwin Soltani <sherwin@...c.com>
---
drivers/staging/android/logger.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/android/logger.c b/drivers/staging/android/logger.c
index b2e71c6..b490c5c 100644
--- a/drivers/staging/android/logger.c
+++ b/drivers/staging/android/logger.c
@@ -621,13 +621,13 @@ static int __init create_log(char *log_name, int size)
/* finally, initialize the misc device for this log */
ret = misc_register(&log->misc);
if (unlikely(ret)) {
- printk(KERN_ERR "logger: failed to register misc "
- "device for log '%s'!\n", log->misc.name);
+ pr_err("logger: failed to register misc device for log '%s'!\n",
+ log->misc.name);
goto out_free_log;
}
- printk(KERN_INFO "logger: created %luK log '%s'\n",
- (unsigned long) log->size >> 10, log->misc.name);
+ pr_info("logger: created %luK log '%s'\n",
+ (unsigned long) log->size >> 10, log->misc.name);
return 0;
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists