From: Alexey Dobriyan Date: Tue, 22 Aug 2006 12:57:24 +0000 (-0300) Subject: V4L/DVB (4512): Ks0127: wire up i2c_add_driver() return value X-Git-Tag: v2.6.19-rc1~643^2~67 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f70a7a918adeebe6be4a72742bff9399210c7541;p=linux-2.6 V4L/DVB (4512): Ks0127: wire up i2c_add_driver() return value Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/ks0127.c b/drivers/media/video/ks0127.c index 3bf7ac4f52..c1a377f797 100644 --- a/drivers/media/video/ks0127.c +++ b/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)