diff options
author | Douglas Schilling Landgraf <dougsland@redhat.com> | 2008-12-27 23:31:52 -0200 |
---|---|---|
committer | Douglas Schilling Landgraf <dougsland@redhat.com> | 2008-12-27 23:31:52 -0200 |
commit | 5a80a7e549fb418c40e01a22a76f3c3f3ec8e4dd (patch) | |
tree | 17b4891e0183d4a645361c786be5fcc9afc685cf /linux/drivers/media/radio/dsbr100.c | |
parent | 6c6ccd49549ab4ce83c314808d285c3834d9da7e (diff) | |
download | mediapointer-dvb-s2-5a80a7e549fb418c40e01a22a76f3c3f3ec8e4dd.tar.gz mediapointer-dvb-s2-5a80a7e549fb418c40e01a22a76f3c3f3ec8e4dd.tar.bz2 |
dsbr100: dev_err instead of dev_warn
From: Alexey Klimov <klimov.linux@gmail.com>
We should use dev_err (not dev_warn) if video_register_device fails.
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/dsbr100.c')
-rw-r--r-- | linux/drivers/media/radio/dsbr100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/radio/dsbr100.c b/linux/drivers/media/radio/dsbr100.c index 24b91cfc7..29d237f73 100644 --- a/linux/drivers/media/radio/dsbr100.c +++ b/linux/drivers/media/radio/dsbr100.c @@ -716,7 +716,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; |