diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-11-04 08:51:28 -0500 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2007-11-04 08:51:28 -0500 |
commit | 779c7c3abb145a410c6fa1daeee272ca752e160c (patch) | |
tree | 734ac13e4a803f047f05e2ceac72fa7a1ef102d4 | |
parent | 08650f2ce2368e8dcc8142f933b65aaf3777efef (diff) | |
download | mediapointer-dvb-s2-779c7c3abb145a410c6fa1daeee272ca752e160c.tar.gz mediapointer-dvb-s2-779c7c3abb145a410c6fa1daeee272ca752e160c.tar.bz2 |
tda8290: return -ENODEV on probe failures
From: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
-rw-r--r-- | linux/drivers/media/video/tda8290.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/tda8290.c b/linux/drivers/media/video/tda8290.c index 7470f736b..e9928d82b 100644 --- a/linux/drivers/media/video/tda8290.c +++ b/linux/drivers/media/video/tda8290.c @@ -680,7 +680,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) @@ -700,7 +700,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 = { @@ -797,7 +797,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); |