summaryrefslogtreecommitdiff
path: root/linux/drivers/media/radio/radio-mr800.c
diff options
context:
space:
mode:
authorDouglas Schilling Landgraf <dougsland@redhat.com>2009-02-05 09:49:58 -0200
committerDouglas Schilling Landgraf <dougsland@redhat.com>2009-02-05 09:49:58 -0200
commitd29804beec15d8395aa769769f49c47b3804773a (patch)
tree52b351f617174f2f1a1c06b134af4589b1e557a0 /linux/drivers/media/radio/radio-mr800.c
parent17f2b6ad963ce70cc8f191dc9def4100e54811f8 (diff)
downloadmediapointer-dvb-s2-d29804beec15d8395aa769769f49c47b3804773a.tar.gz
mediapointer-dvb-s2-d29804beec15d8395aa769769f49c47b3804773a.tar.bz2
radio-mr800: place dev_err instead of dev_warn
From: Alexey Klimov <klimov.linux@gmail.com> There should be dev_err message if video_register_device() fails. Correct this situation. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Diffstat (limited to 'linux/drivers/media/radio/radio-mr800.c')
-rw-r--r--linux/drivers/media/radio/radio-mr800.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/radio/radio-mr800.c b/linux/drivers/media/radio/radio-mr800.c
index caa71501a..cf26043af 100644
--- a/linux/drivers/media/radio/radio-mr800.c
+++ b/linux/drivers/media/radio/radio-mr800.c
@@ -672,7 +672,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);