提交 290588e0 编写于 作者: A Alexey Klimov 提交者: Mauro Carvalho Chehab

V4L/DVB (10057): dsbr100: place dev_warn instead of printk

Remove printk in one line and place dev_warn there.
Signed-off-by: NAlexey Klimov <klimov.linux@gmail.com>
Signed-off-by: NDouglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 5609cfd2
......@@ -495,7 +495,8 @@ static int usb_dsbr100_open(struct inode *inode, struct file *file)
retval = dsbr100_setfreq(radio, radio->curfreq);
if (retval == -1)
printk(KERN_WARNING KBUILD_MODNAME ": Set frequency failed\n");
dev_warn(&radio->usbdev->dev,
"set frequency failed\n");
unlock_kernel();
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册