]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/i2c/busses/i2c-pnx.c
Merge tag 'v4.9-rc1' into x86/urgent, to pick up updates
[karo-tx-linux.git] / drivers / i2c / busses / i2c-pnx.c
index 7ea67aa46fb730d62342f8ec1a7be58369ca3122..fd5f9d2bf6d94eeaf1340e0ca260ffedcdcb135a 100644 (file)
@@ -714,10 +714,8 @@ static int i2c_pnx_probe(struct platform_device *pdev)
 
        /* Register this adapter with the I2C subsystem */
        ret = i2c_add_numbered_adapter(&alg_data->adapter);
-       if (ret < 0) {
-               dev_err(&pdev->dev, "I2C: Failed to add bus\n");
+       if (ret < 0)
                goto out_clock;
-       }
 
        dev_dbg(&pdev->dev, "%s: Master at %#8x, irq %d.\n",
                alg_data->adapter.name, res->start, alg_data->irq);