]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (6550): tda8290: return -ENODEV on probe failures
authorMichael Krufky <mkrufky@linuxtv.org>
Sun, 4 Nov 2007 13:51:28 +0000 (10:51 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:01:58 +0000 (19:01 -0200)
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tda8290.c

index dd23996546544e542db0c42387bb4ffa1499ff8f..18e6a09642fa1e925567bc1184c2aab9b2c23772 100644 (file)
@@ -649,7 +649,7 @@ static int tda8290_probe(struct tuner_i2c_props *i2c_props)
                return 0;
        }
 
-       return -1;
+       return -ENODEV;
 }
 
 static int tda8295_probe(struct tuner_i2c_props *i2c_props)
@@ -669,7 +669,7 @@ static int tda8295_probe(struct tuner_i2c_props *i2c_props)
                return 0;
        }
 
-       return -1;
+       return -ENODEV;
 }
 
 static struct analog_tuner_ops tda8290_tuner_ops = {
@@ -766,7 +766,7 @@ int tda829x_probe(struct tuner *t)
                }
        }
        tuner_i2c_xfer_send(&i2c_props, restore_9886, 3);
-       return -1;
+       return -ENODEV;
 }
 EXPORT_SYMBOL_GPL(tda829x_probe);