drivers: staging: ft1000: Use pr_info instead of printk
authorArtem Fetishev <wwctrsrx@gmail.com>
Sun, 11 May 2014 18:14:28 +0000 (21:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:51:40 +0000 (13:51 -0700)
Improve coding style by fixing this checkstyle warning:

WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(...  to printk(KERN_INFO ...

Signed-off-by: Artem Fetishev <wwctrsrx@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ft1000/ft1000-usb/ft1000_usb.h

index a6fdd524ee6f10024bb94c9e79a491c301942c08..fd3e1a97d6b99ab7cf9c87234c7baac36770b750 100644 (file)
@@ -24,7 +24,7 @@ struct app_info_block {
        struct list_head app_sqlist;   /* link list of msgs for applicaton on slow queue */
 } __packed;
 
-#define DEBUG(args...) printk(KERN_INFO args)
+#define DEBUG(args...) pr_info(args)
 
 #define FALSE           0
 #define TRUE            1