Merge remote-tracking branch 'regulator/for-next'
[deliverable/linux.git] / drivers / i2c / busses / i2c-mpc.c
index 48ecffecc0eda3fb42e63ff19a6e93d2f49ed918..565a49a0c564105e3cadf56bf3944e1b76ab505f 100644 (file)
@@ -737,10 +737,8 @@ static int fsl_i2c_probe(struct platform_device *op)
        i2c->adap.dev.of_node = of_node_get(op->dev.of_node);
 
        result = i2c_add_adapter(&i2c->adap);
-       if (result < 0) {
-               dev_err(i2c->dev, "failed to add adapter\n");
+       if (result < 0)
                goto fail_add;
-       }
 
        return result;
 
This page took 0.02641 seconds and 5 git commands to generate.