aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/bt8xx/bttv-input.c
diff options
context:
space:
mode:
authorFrank Schaefer <fschaefer.oss@googlemail.com>2013-02-17 07:41:29 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-05 15:11:12 -0500
commit457ba4ce4f435d0b4dd82a0acc6c796e541a2ea7 (patch)
tree054418e9f50ace1cd7888c5d8fbf46c921d8f75a /drivers/media/pci/bt8xx/bttv-input.c
parentfa563073281d7be6c685a0bb8ca6b2737e00f368 (diff)
[media] bttv: move fini_bttv_i2c() from bttv-input.c to bttv-i2c.c
Like init_bttv_i2c(), fini_bttv_i2c() belongs to bttv-i2c.c. Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/bt8xx/bttv-input.c')
-rw-r--r--drivers/media/pci/bt8xx/bttv-input.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/pci/bt8xx/bttv-input.c b/drivers/media/pci/bt8xx/bttv-input.c
index 01c71214f9ec..f36821367d8d 100644
--- a/drivers/media/pci/bt8xx/bttv-input.c
+++ b/drivers/media/pci/bt8xx/bttv-input.c
@@ -415,14 +415,6 @@ void init_bttv_i2c_ir(struct bttv *btv)
415#endif 415#endif
416} 416}
417 417
418int fini_bttv_i2c(struct bttv *btv)
419{
420 if (0 != btv->i2c_rc)
421 return 0;
422
423 return i2c_del_adapter(&btv->c.i2c_adap);
424}
425
426int bttv_input_init(struct bttv *btv) 418int bttv_input_init(struct bttv *btv)
427{ 419{
428 struct bttv_ir *ir; 420 struct bttv_ir *ir;