aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-11-04 08:51:28 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:01:58 -0500
commit1f3a4e328549cb85aa032c4ee5dfda7886754154 (patch)
tree20f747ada9524d19db2f1fa8fbd01e7da9dc5edb /drivers
parent232fcefb55e67cf38176a1e5c188a04694445f11 (diff)
V4L/DVB (6550): tda8290: return -ENODEV on probe failures
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/tda8290.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/tda8290.c b/drivers/media/video/tda8290.c
index dd2399654654..18e6a09642fa 100644
--- a/drivers/media/video/tda8290.c
+++ b/drivers/media/video/tda8290.c
@@ -649,7 +649,7 @@ static int tda8290_probe(struct tuner_i2c_props *i2c_props)
649 return 0; 649 return 0;
650 } 650 }
651 651
652 return -1; 652 return -ENODEV;
653} 653}
654 654
655static int tda8295_probe(struct tuner_i2c_props *i2c_props) 655static int tda8295_probe(struct tuner_i2c_props *i2c_props)
@@ -669,7 +669,7 @@ static int tda8295_probe(struct tuner_i2c_props *i2c_props)
669 return 0; 669 return 0;
670 } 670 }
671 671
672 return -1; 672 return -ENODEV;
673} 673}
674 674
675static struct analog_tuner_ops tda8290_tuner_ops = { 675static struct analog_tuner_ops tda8290_tuner_ops = {
@@ -766,7 +766,7 @@ int tda829x_probe(struct tuner *t)
766 } 766 }
767 } 767 }
768 tuner_i2c_xfer_send(&i2c_props, restore_9886, 3); 768 tuner_i2c_xfer_send(&i2c_props, restore_9886, 3);
769 return -1; 769 return -ENODEV;
770} 770}
771EXPORT_SYMBOL_GPL(tda829x_probe); 771EXPORT_SYMBOL_GPL(tda829x_probe);
772 772