mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
V4L/DVB (10059): dsbr100: dev_err instead of dev_warn
We should use dev_err (not dev_warn) if video_register_device fails. 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>
This commit is contained in:
parent
417b795366
commit
7e1ca8491d
1 changed files with 1 additions and 1 deletions
|
@ -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 not register video device\n");
|
||||
dev_err(&intf->dev, "couldn't register video device\n");
|
||||
kfree(radio->transfer_buffer);
|
||||
kfree(radio);
|
||||
return -EIO;
|
||||
|
|
Loading…
Reference in a new issue