Merge remote-tracking branch 'omap_dss2/for-next'
[deliverable/linux.git] / drivers / i2c / busses / i2c-ibm_iic.c
index cdaa7be2cd1b940647df6d98b11edd8a2f7c67ef..412b91d255ad1d7e62ef6bb7d6b2518172c4d0e9 100644 (file)
@@ -751,10 +751,8 @@ static int iic_probe(struct platform_device *ofdev)
        adap->timeout = HZ;
 
        ret = i2c_add_adapter(adap);
-       if (ret  < 0) {
-               dev_err(&ofdev->dev, "failed to register i2c adapter\n");
+       if (ret  < 0)
                goto error_cleanup;
-       }
 
        dev_info(&ofdev->dev, "using %s mode\n",
                 dev->fast_mode ? "fast (400 kHz)" : "standard (100 kHz)");
This page took 0.035968 seconds and 5 git commands to generate.