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>
This commit is contained in:
parent
334c826858
commit
eca6a8872a
1 changed files with 3 additions and 3 deletions
|
@ -583,10 +583,10 @@ static void incoming_packet(struct sasem_context *context,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (debug) {
|
if (debug) {
|
||||||
printk(KERN_INFO "Incoming data: ");
|
pr_info("Incoming data: ");
|
||||||
for (i = 0; i < 8; ++i)
|
for (i = 0; i < 8; ++i)
|
||||||
printk(KERN_CONT "%02x ", buf[i]);
|
pr_cont("%02x ", buf[i]);
|
||||||
printk(KERN_CONT "\n");
|
pr_cont("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue