[PATCH v2 3/5] drivers: staging: ft1000: Use pr_info instead of printk

From: Artem Fetishev
Date: Sat May 10 2014 - 15:55:46 EST


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@xxxxxxxxx>
---
drivers/staging/ft1000/ft1000-usb/ft1000_usb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h
index a6fdd524..fd3e1a9 100644
--- a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h
+++ b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h
@@ -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
--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/