[media] staging: lirc: lirc_serial: use dynamic debugs
authorMaciek Borzecki <maciek.borzecki@gmail.com>
Fri, 4 Sep 2015 20:04:05 +0000 (17:04 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 3 Oct 2015 12:59:12 +0000 (09:59 -0300)
commit4b4c7a197a7af402ae5a6eb85d4cc9002c974a5a
tree3af5c1aa71ac32830541a489bd34c85d0e5bc946
parent702c287082cd92cb792cfe5afd8c5160bf563b4f
[media] staging: lirc: lirc_serial: use dynamic debugs

Replace custom debug macro dprintk() with pr_debug() or
dev_dbg(). Remove unused module param `debug`.

This removes the following checkpatch warning:
WARNING: Prefer [subsystem eg: netdev]_dbg([subsystem]dev, ... then dev_dbg(dev, ... then pr_debug(...  to printk(KERN_DEBUG ...
+                       printk(KERN_DEBUG LIRC_DRIVER_NAME ": " \

Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/staging/media/lirc/lirc_serial.c