summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/device.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-08-17 09:17:04 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-17 09:43:50 -0700
commit48caf5a060491edb2e1793539dad72e70c54c869 (patch)
tree27be414ac8303a6d31d6eb6a3650b075a8fa835e /drivers/staging/vt6655/device.h
parentc7b09efacf54210be511450768c0ee98071feb7f (diff)
downloadop-kernel-dev-48caf5a060491edb2e1793539dad72e70c54c869.zip
op-kernel-dev-48caf5a060491edb2e1793539dad72e70c54c869.tar.gz
staging: vt6655: Convert DBG_PRT to pr_<level>
DBG_PRT uses are unnecessarily complex. Convert DBG_PRT msglevel to pr_<level>. This changes the KERN_<level> type of several uses. It also enables dynamic_debug for the pr_debug conversions. This patch can be a prelude to converting these pr_<level> uses to dev_<level> as appropriate. Other changes: Realign arguments of these conversions. Remove now unused static int msglevel declarations. Remove now unused DBG_PRT #define. Compile tested only. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/device.h')
-rw-r--r--drivers/staging/vt6655/device.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h
index e1a322f..e4c5292 100644
--- a/drivers/staging/vt6655/device.h
+++ b/drivers/staging/vt6655/device.h
@@ -148,12 +148,6 @@
/*--------------------- Export Types ------------------------------*/
-#define DBG_PRT(l, p, args...) \
-do { \
- if (l <= msglevel) \
- printk(p, ##args); \
-} while (0)
-
#define PRINT_K(p, args...) \
do { \
if (PRIVATE_Message) \
OpenPOWER on IntegriCloud