diff options
Diffstat (limited to 'drivers/media/video/bt8xx/bttv-i2c.c')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-i2c.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/media/video/bt8xx/bttv-i2c.c b/drivers/media/video/bt8xx/bttv-i2c.c index 70de6c96e201..62b873076e09 100644 --- 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) | |||
479 | if (0 != btv->i2c_rc) | 479 | if (0 != btv->i2c_rc) |
480 | return 0; | 480 | return 0; |
481 | 481 | ||
482 | if (btv->use_i2c_hw) { | 482 | return i2c_del_adapter(&btv->c.i2c_adap); |
483 | return i2c_del_adapter(&btv->c.i2c_adap); | ||
484 | } else { | ||
485 | return i2c_bit_del_bus(&btv->c.i2c_adap); | ||
486 | } | ||
487 | } | 483 | } |
488 | 484 | ||
489 | /* | 485 | /* |