From: Alexey Klimov Date: Sun, 28 Dec 2008 00:42:39 +0000 (-0300) Subject: V4L/DVB (10057): dsbr100: place dev_warn instead of printk X-Git-Tag: v2.6.29-rc1~556^2~61 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=290588e067b6710b614da4bd538197dd88158b62;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Douglas Schilling Landgraf Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/radio/dsbr100.c b/drivers/media/radio/dsbr100.c index 84914fb267b..e1cc369bdbd 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) 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;