Staging: crystalhd: prefer pr_warn to printk(KERN_WARNING)

Fix warning issue by using pr_err instead of printk

Signed-off-by: Georgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Reviewed-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Georgiana Rodica Chelu 2014-03-08 11:37:19 +02:00 committed by Greg Kroah-Hartman
parent 48be81830e
commit af3f31b816
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ do { \
#define BCMLOG_ERR(fmt, args...) \
do { \
if (g_linklog_level & BCMLOG_ERROR) \
printk(KERN_ERR "*ERR*:%s:%d: "fmt, \
pr_err("*ERR*:%s:%d: "fmt, \
__FILE__, __LINE__, ##args); \
} while (0)