git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i2c: Discard the i2c algo del_bus wrappers
[pandora-kernel.git]
/
drivers
/
media
/
video
/
bt8xx
/
bttv-i2c.c
diff --git
a/drivers/media/video/bt8xx/bttv-i2c.c
b/drivers/media/video/bt8xx/bttv-i2c.c
index
70de6c9
..
62b8730
100644
(file)
--- a/
drivers/media/video/bt8xx/bttv-i2c.c
+++ b/
drivers/media/video/bt8xx/bttv-i2c.c
@@
-479,11
+479,7
@@
int __devexit fini_bttv_i2c(struct bttv *btv)
if (0 != btv->i2c_rc)
return 0;
- if (btv->use_i2c_hw) {
- return i2c_del_adapter(&btv->c.i2c_adap);
- } else {
- return i2c_bit_del_bus(&btv->c.i2c_adap);
- }
+ return i2c_del_adapter(&btv->c.i2c_adap);
}
/*