mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Signed-off-by: Douglas Schilling Landgraf <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
5609cfd232
commit
290588e067
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue