Merge branch 'for-4.9/block-smp' of git://git.kernel.dk/linux-block
[cascardo/linux.git] / drivers / i2c / busses / i2c-wmt.c
index e1e3a85..fbd0fd5 100644 (file)
@@ -432,10 +432,8 @@ static int wmt_i2c_probe(struct platform_device *pdev)
        }
 
        err = i2c_add_adapter(adap);
-       if (err) {
-               dev_err(&pdev->dev, "failed to add adapter\n");
+       if (err)
                return err;
-       }
 
        platform_set_drvdata(pdev, i2c_dev);