|
@@ -1175,9 +1175,6 @@ omap_i2c_probe(struct platform_device *pdev)
|
|
goto err_unuse_clocks;
|
|
goto err_unuse_clocks;
|
|
}
|
|
}
|
|
|
|
|
|
- dev_info(dev->dev, "bus %d rev%d.%d.%d at %d kHz\n", pdev->id,
|
|
|
|
- dev->dtrev, dev->rev >> 4, dev->rev & 0xf, dev->speed);
|
|
|
|
-
|
|
|
|
adap = &dev->adapter;
|
|
adap = &dev->adapter;
|
|
i2c_set_adapdata(adap, dev);
|
|
i2c_set_adapdata(adap, dev);
|
|
adap->owner = THIS_MODULE;
|
|
adap->owner = THIS_MODULE;
|
|
@@ -1195,6 +1192,9 @@ omap_i2c_probe(struct platform_device *pdev)
|
|
goto err_unuse_clocks;
|
|
goto err_unuse_clocks;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ dev_info(dev->dev, "bus %d rev%d.%d.%d at %d kHz\n", adap->nr,
|
|
|
|
+ dev->dtrev, dev->rev >> 4, dev->rev & 0xf, dev->speed);
|
|
|
|
+
|
|
of_i2c_register_devices(adap);
|
|
of_i2c_register_devices(adap);
|
|
|
|
|
|
pm_runtime_mark_last_busy(dev->dev);
|
|
pm_runtime_mark_last_busy(dev->dev);
|