lkml.org 
[lkml]   [2012]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Staging: android: logger.c: fixed some printk macros
Date
Changed a few printk messages in logger.c to make checkpatch.pl happy.

Signed-off-by: Sherwin Soltani <sherwin@wybc.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


\
 
 \ /
  Last update: 2012-06-22 08:41    [W:0.060 / U:33.676 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site