diff options
author | Alexey Klimov <klimov.linux@gmail.com> | 2008-12-27 19:42:39 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:40:10 -0500 |
commit | 290588e067b6710b614da4bd538197dd88158b62 (patch) | |
tree | 939d146adff6383851627a2c7a9f06bf113e1903 /drivers/media | |
parent | 5609cfd23233617858d03fab537bc120f7f6fa7f (diff) |
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/radio/dsbr100.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/radio/dsbr100.c b/drivers/media/radio/dsbr100.c index 84914fb267be..e1cc369bdbd6 100644 --- a/drivers/media/radio/dsbr100.c +++ b/drivers/media/radio/dsbr100.c | |||
@@ -495,7 +495,8 @@ static int usb_dsbr100_open(struct inode *inode, struct file *file) | |||
495 | retval = dsbr100_setfreq(radio, radio->curfreq); | 495 | retval = dsbr100_setfreq(radio, radio->curfreq); |
496 | 496 | ||
497 | if (retval == -1) | 497 | if (retval == -1) |
498 | printk(KERN_WARNING KBUILD_MODNAME ": Set frequency failed\n"); | 498 | dev_warn(&radio->usbdev->dev, |
499 | "set frequency failed\n"); | ||
499 | 500 | ||
500 | unlock_kernel(); | 501 | unlock_kernel(); |
501 | return 0; | 502 | return 0; |