aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorAlexey Klimov <klimov.linux@gmail.com>2009-02-05 06:49:58 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:42:39 -0400
commit65c51dc97845692dc08646030136184958044763 (patch)
treeb5ec45ccb4c789669c7026d1382a45a2ea95e665 /drivers/media/radio
parenta5d6947515cc489001938339a8de9c000b2f8aba (diff)
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 <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r--drivers/media/radio/radio-mr800.c2
1 files changed, 1 insertions, 1 deletions
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,
669 video_set_drvdata(radio->videodev, radio); 669 video_set_drvdata(radio->videodev, radio);
670 retval = video_register_device(radio->videodev, VFL_TYPE_RADIO, radio_nr); 670 retval = video_register_device(radio->videodev, VFL_TYPE_RADIO, radio_nr);
671 if (retval < 0) { 671 if (retval < 0) {
672 dev_warn(&intf->dev, "could not register video device\n"); 672 dev_err(&intf->dev, "could not register video device\n");
673 video_device_release(radio->videodev); 673 video_device_release(radio->videodev);
674 kfree(radio->buffer); 674 kfree(radio->buffer);
675 kfree(radio); 675 kfree(radio);