projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d084aa7
)
V4L/DVB (4512): Ks0127: wire up i2c_add_driver() return value
author
Alexey Dobriyan
<adobriyan@gmail.com>
Tue, 22 Aug 2006 12:57:24 +0000
(09:57 -0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Tue, 26 Sep 2006 15:30:32 +0000
(12:30 -0300)
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>
drivers/media/video/ks0127.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/ks0127.c
b/drivers/media/video/ks0127.c
index 3bf7ac4f52882ff40193c7d9811d4c0e38cf0d3e..c1a377f797d9b21679bf6c23d4fe23bb51c2ac6e 100644
(file)
--- 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)