staging: ks7010: fix coding style issue of using pr_notice instead of printk
authorChetan Sethi <cpsethi369@gmail.com>
Tue, 28 Feb 2017 03:00:45 +0000 (12:00 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:07 +0000 (09:17 +0100)
Signed-off-by: Chetan Sethi <cpsethi369@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan.h

index 7098c6fe45683a35bb3f58aeca5532c624c1ad0b..f1dfa73a779c6c12e9d3ec8e8c1b0cc9f4d8c887 100644 (file)
@@ -38,7 +38,7 @@
 #define DPRINTK(n, fmt, args...) \
        do { \
                if (KS_WLAN_DEBUG > (n)) \
-                       printk(KERN_NOTICE "%s: "fmt, __FUNCTION__, ## args); \
+                       pr_notice("%s: "fmt, __FUNCTION__, ## args); \
        } while (0)
 #else
 #define DPRINTK(n, fmt, args...)