Skip to content

Commit

Permalink
V4L/DVB (4512): Ks0127: wire up i2c_add_driver() return value
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexey Dobriyan authored and Mauro Carvalho Chehab committed Sep 26, 2006
1 parent d084aa7 commit f70a7a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/media/video/ks0127.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f70a7a9

Please sign in to comment.