diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-08-22 09:57:24 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-08-22 09:57:24 -0300 |
commit | cb73e06fc50c861fda76a2f77ecdcfcc55606fa5 (patch) | |
tree | 33a4c08b1f5985838363509783ed82789a37a284 /linux/drivers/media/video/ks0127.c | |
parent | 680ddb43e12202d9ffff188f9cd0e68e2d32ecaa (diff) | |
download | mediapointer-dvb-s2-cb73e06fc50c861fda76a2f77ecdcfcc55606fa5.tar.gz mediapointer-dvb-s2-cb73e06fc50c861fda76a2f77ecdcfcc55606fa5.tar.bz2 |
ks0127: wire up i2c_add_driver() return value
From: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/ks0127.c')
-rw-r--r-- | linux/drivers/media/video/ks0127.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/ks0127.c b/linux/drivers/media/video/ks0127.c index 3bf7ac4f5..c1a377f79 100644 --- a/linux/drivers/media/video/ks0127.c +++ b/linux/drivers/media/video/ks0127.c @@ -832,8 +832,7 @@ static int ks0127_detach(struct i2c_client *client) static int __devinit ks0127_init_module(void) { init_reg_defaults(); - i2c_add_driver(&i2c_driver_ks0127); - return 0; + return i2c_add_driver(&i2c_driver_ks0127); } static void __devexit ks0127_cleanup_module(void) |