Commit 1f3a4e32 authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab

V4L/DVB (6550): tda8290: return -ENODEV on probe failures

Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 232fcefb
...@@ -649,7 +649,7 @@ static int tda8290_probe(struct tuner_i2c_props *i2c_props) ...@@ -649,7 +649,7 @@ static int tda8290_probe(struct tuner_i2c_props *i2c_props)
return 0; return 0;
} }
return -1; return -ENODEV;
} }
static int tda8295_probe(struct tuner_i2c_props *i2c_props) static int tda8295_probe(struct tuner_i2c_props *i2c_props)
...@@ -669,7 +669,7 @@ 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 0;
} }
return -1; return -ENODEV;
} }
static struct analog_tuner_ops tda8290_tuner_ops = { static struct analog_tuner_ops tda8290_tuner_ops = {
...@@ -766,7 +766,7 @@ int tda829x_probe(struct tuner *t) ...@@ -766,7 +766,7 @@ int tda829x_probe(struct tuner *t)
} }
} }
tuner_i2c_xfer_send(&i2c_props, restore_9886, 3); tuner_i2c_xfer_send(&i2c_props, restore_9886, 3);
return -1; return -ENODEV;
} }
EXPORT_SYMBOL_GPL(tda829x_probe); EXPORT_SYMBOL_GPL(tda829x_probe);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment