aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media
diff options
context:
space:
mode:
authorAybuke Ozdemir <aybuke.147@gmail.com>2014-10-23 14:12:19 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-27 02:33:06 (GMT)
commiteca6a8872a047069969a7f7ad420d819e4847be9 (patch)
tree39db3eccbb907dc63e36b96d4b2d4589ad20abc2 /drivers/staging/media
parent334c826858691d306285183822e954063a116035 (diff)
staging: media: lirc: Use pr_* instead of printk
This patch focuses on fixing the following warning generated by checkpatch.pl for the file lirc_sasem.c: WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... WARNING: Prefer [subsystem eg: netdev]_cont([subsystem]dev, ... then dev_cont(dev, ... then pr_cont(... to printk(KERN_CONT ... Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media')
-rw-r--r--drivers/staging/media/lirc/lirc_sasem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/media/lirc/lirc_sasem.c b/drivers/staging/media/lirc/lirc_sasem.c
index c20ef56..05969fb 100644
--- a/drivers/staging/media/lirc/lirc_sasem.c
+++ b/drivers/staging/media/lirc/lirc_sasem.c
@@ -583,10 +583,10 @@ static void incoming_packet(struct sasem_context *context,
}
if (debug) {
- printk(KERN_INFO "Incoming data: ");
+ pr_info("Incoming data: ");
for (i = 0; i < 8; ++i)
- printk(KERN_CONT "%02x ", buf[i]);
- printk(KERN_CONT "\n");
+ pr_cont("%02x ", buf[i]);
+ pr_cont("\n");
}
/*

Privacy Policy