i2c: Discard the i2c algo del_bus wrappers
[pandora-kernel.git] / drivers / media / video / bt8xx / bttv-i2c.c
index 70de6c9..62b8730 100644 (file)
@@ -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);
 }
 
 /*