summaryrefslogtreecommitdiff
path: root/linux/drivers/media/radio/radio-maestro.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-08-23 09:56:25 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-08-23 09:56:25 +0200
commit32b53bf4322c4a02362675bcf0047be4f5ac7f6f (patch)
tree4310220e5c495af3dd96532fcdc96edbfebc1921 /linux/drivers/media/radio/radio-maestro.c
parent33532a9370a8af24bb2332219dedf45570e50531 (diff)
downloadmediapointer-dvb-s2-32b53bf4322c4a02362675bcf0047be4f5ac7f6f.tar.gz
mediapointer-dvb-s2-32b53bf4322c4a02362675bcf0047be4f5ac7f6f.tar.bz2
radio: fix incorrect video_register_device result check
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/radio/radio-maestro.c')
-rw-r--r--linux/drivers/media/radio/radio-maestro.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/radio/radio-maestro.c b/linux/drivers/media/radio/radio-maestro.c
index 5593332fe..2c2c42b44 100644
--- a/linux/drivers/media/radio/radio-maestro.c
+++ b/linux/drivers/media/radio/radio-maestro.c
@@ -424,8 +424,7 @@ static int __devinit maestro_probe(struct pci_dev *pdev,
video_set_drvdata(maestro_radio_inst, radio_unit);
pci_set_drvdata(pdev, maestro_radio_inst);
- retval = video_register_device(maestro_radio_inst, VFL_TYPE_RADIO,
- radio_nr);
+ retval = video_register_device(maestro_radio_inst, VFL_TYPE_RADIO, radio_nr);
if (retval) {
printk(KERN_ERR "can't register video device!\n");
goto errfr1;