projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
417b795
)
V4L/DVB (10059): dsbr100: dev_err instead of dev_warn
author
Alexey Klimov
<
[email protected]
>
Sun, 28 Dec 2008 01:31:52 +0000
(22:31 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Tue, 30 Dec 2008 11:40:11 +0000
(09:40 -0200)
We should use dev_err (not dev_warn) if video_register_device fails.
Signed-off-by: Alexey Klimov <
[email protected]
>
Signed-off-by: Douglas Schilling Landgraf <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/radio/dsbr100.c
patch
|
blob
|
history
diff --git
a/drivers/media/radio/dsbr100.c
b/drivers/media/radio/dsbr100.c
index e0d7485226cdf205ca616f5bf39149a0435fd9cb..5de5def9c166a6da494f46fa00da0618b1c1b4bd 100644
(file)
--- a/
drivers/media/radio/dsbr100.c
+++ b/
drivers/media/radio/dsbr100.c
@@
-713,7
+713,7
@@
static int usb_dsbr100_probe(struct usb_interface *intf,
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 no
t register video device\n");
+ dev_
err(&intf->dev, "couldn'
t register video device\n");
kfree(radio->transfer_buffer);
kfree(radio);
return -EIO;