aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i2c/busses/i2c-omap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index b149e3236da4..c78431a4970a 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -1175,9 +1175,6 @@ omap_i2c_probe(struct platform_device *pdev)
1175 goto err_unuse_clocks; 1175 goto err_unuse_clocks;
1176 } 1176 }
1177 1177
1178 dev_info(dev->dev, "bus %d rev%d.%d.%d at %d kHz\n", pdev->id,
1179 dev->dtrev, dev->rev >> 4, dev->rev & 0xf, dev->speed);
1180
1181 adap = &dev->adapter; 1178 adap = &dev->adapter;
1182 i2c_set_adapdata(adap, dev); 1179 i2c_set_adapdata(adap, dev);
1183 adap->owner = THIS_MODULE; 1180 adap->owner = THIS_MODULE;
@@ -1195,6 +1192,9 @@ omap_i2c_probe(struct platform_device *pdev)
1195 goto err_unuse_clocks; 1192 goto err_unuse_clocks;
1196 } 1193 }
1197 1194
1195 dev_info(dev->dev, "bus %d rev%d.%d.%d at %d kHz\n", adap->nr,
1196 dev->dtrev, dev->rev >> 4, dev->rev & 0xf, dev->speed);
1197
1198 of_i2c_register_devices(adap); 1198 of_i2c_register_devices(adap);
1199 1199
1200 pm_runtime_mark_last_busy(dev->dev); 1200 pm_runtime_mark_last_busy(dev->dev);