Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1f3a4e328549cb85aa032c4ee5dfda7886754154
Commit:     1f3a4e328549cb85aa032c4ee5dfda7886754154
Parent:     232fcefb55e67cf38176a1e5c188a04694445f11
Author:     Michael Krufky <[EMAIL PROTECTED]>
AuthorDate: Sun Nov 4 10:51:28 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 19:01:58 2008 -0200

    V4L/DVB (6550): tda8290: return -ENODEV on probe failures
    
    Signed-off-by: Michael Krufky <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/tda8290.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/media/video/tda8290.c b/drivers/media/video/tda8290.c
index dd23996..18e6a09 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)
                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);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to