summaryrefslogtreecommitdiff
path: root/drivers/media/usb/em28xx/em28xx-input.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-12 07:32:23 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-21 08:38:07 -0200
commit2a96f60e89b9af8396fe06dc361909b5e3a9b4f0 (patch)
tree2968c98fcb5328b5f0115a08005d06520618570f /drivers/media/usb/em28xx/em28xx-input.c
parent8314d40233f3790e4cfa704087bb2a43c18144d7 (diff)
downloadlinux-2a96f60e89b9af8396fe06dc361909b5e3a9b4f0.tar.gz
linux-2a96f60e89b9af8396fe06dc361909b5e3a9b4f0.tar.xz
[media] em28xx: convert the remaining printks to pr_foo
There are still several places with printk's called directly. Convert them to pr_foo() macros, except for the debug printk's, as those are enabled via modprobe vars. While here, realign the pr_foo() arguments to match the recommended CodingStyle. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx-input.c')
-rw-r--r--drivers/media/usb/em28xx/em28xx-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-input.c b/drivers/media/usb/em28xx/em28xx-input.c
index e8e1f768d45e..0e23e65eff15 100644
--- a/drivers/media/usb/em28xx/em28xx-input.c
+++ b/drivers/media/usb/em28xx/em28xx-input.c
@@ -458,7 +458,7 @@ static int em28xx_ir_change_protocol(struct rc_dev *rc_dev, u64 *rc_type)
case CHIP_ID_EM28178:
return em2874_ir_change_protocol(rc_dev, rc_type);
default:
- printk("Unrecognized em28xx chip id 0x%02x: IR not supported\n",
+ pr_err("Unrecognized em28xx chip id 0x%02x: IR not supported\n",
dev->chip_id);
return -EINVAL;
}