media: rc: remove IR_dprintk() from rc-core

Use dev_dbg() rather than custom debug function.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Sean Young
2018-02-12 07:27:50 -05:00
committed by Mauro Carvalho Chehab
parent 50078a9038
commit 1f17f684d9
4 changed files with 53 additions and 61 deletions

View File

@@ -23,13 +23,6 @@
#include <linux/timer.h>
#include <media/rc-map.h>
extern int rc_core_debug;
#define IR_dprintk(level, fmt, ...) \
do { \
if (rc_core_debug >= level) \
printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__); \
} while (0)
/**
* enum rc_driver_type - type of the RC driver.
*