public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [review patch 3/5] dsbr100: dev_err insted of dev_warn
@ 2008-12-20  3:09 Alexey Klimov
  0 siblings, 0 replies; only message in thread
From: Alexey Klimov @ 2008-12-20  3:09 UTC (permalink / raw)
  To: Douglas Schilling Landgraf; +Cc: video4linux-list

We should use dev_err here.

---
diff -r 5fad9278bd8e linux/drivers/media/radio/dsbr100.c
--- a/linux/drivers/media/radio/dsbr100.c	Sat Dec 20 02:33:51 2008 +0300
+++ b/linux/drivers/media/radio/dsbr100.c	Sat Dec 20 02:48:48 2008 +0300
@@ -670,7 +670,7 @@
 	video_set_drvdata(&radio->videodev, radio);
 	retval = video_register_device(&radio->videodev, VFL_TYPE_RADIO, radio_nr);
 	if (retval < 0) {
-		dev_warn(&intf->dev, "Could not register video device\n");
+		dev_err(&intf->dev, "couldn't register video device\n");
 		kfree(radio->transfer_buffer);
 		kfree(radio);
 		return -EIO;

-- 
Best regards, Klimov Alexey

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-20  3:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-20  3:09 [review patch 3/5] dsbr100: dev_err insted of dev_warn Alexey Klimov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox