Skip to content

Commit

Permalink
V4L/DVB (10057): dsbr100: place dev_warn instead of printk
Browse files Browse the repository at this point in the history
Remove printk in one line and place dev_warn there.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Alexey Klimov authored and Mauro Carvalho Chehab committed Dec 30, 2008
1 parent 5609cfd commit 290588e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/radio/dsbr100.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 290588e

Please sign in to comment.