Skip to contentSkip to conversation

dsbr100: place dev_warn instead of printk

PATCH In review Alexey Klimov 1 participant 1 message Dec 20, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 dsbr100: place dev_warn instead of printk

Remove printk and place dev_warn here.

---

linux/drivers/media/radio/dsbr100.c +2 -1
diff -r 16be154a760e linux/drivers/media/radio/dsbr100.c
@@ -498,7 +498,8 @@
 	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;
Signature · 6 lines
Best regards, Klimov Alexey

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list