From: Alexey Klimov Date: Thu, 5 Feb 2009 11:49:58 +0000 (-0300) Subject: V4L/DVB (10456): radio-mr800: place dev_err instead of dev_warn X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=65c51dc97845692dc08646030136184958044763;p=linux-beck.git V4L/DVB (10456): radio-mr800: place dev_err instead of dev_warn There should be dev_err message if video_register_device() fails. Correct this situation. Signed-off-by: Alexey Klimov Signed-off-by: Douglas Schilling Landgraf Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/radio/radio-mr800.c b/drivers/media/radio/radio-mr800.c index 6ffb72717623..ef909a583e9e 100644 --- a/drivers/media/radio/radio-mr800.c +++ b/drivers/media/radio/radio-mr800.c @@ -669,7 +669,7 @@ static int usb_amradio_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, "could not register video device\n"); video_device_release(radio->videodev); kfree(radio->buffer); kfree(radio);