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

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>
This commit is contained in:
Alexey Klimov 2008-12-27 21:42:39 -03:00 коммит произвёл Mauro Carvalho Chehab
Родитель 5609cfd232
Коммит 290588e067
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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;