Commit 9550d4d7 authored by Andy Green's avatar Andy Green Committed by Ben Dooks

I2C: OMAP1/OMAP2+: prepend I2C IP version to probed version shown in dev_info

The IP version is prepended to the existing printed probed
version as an "epoch" version.

Cc: patches@linaro.org
Reported-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarAndy Green <andy.green@linaro.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Acked-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
parent 3be0053e
...@@ -1093,8 +1093,8 @@ omap_i2c_probe(struct platform_device *pdev) ...@@ -1093,8 +1093,8 @@ omap_i2c_probe(struct platform_device *pdev)
goto err_unuse_clocks; goto err_unuse_clocks;
} }
dev_info(dev->dev, "bus %d rev%d.%d at %d kHz\n", dev_info(dev->dev, "bus %d rev%d.%d.%d at %d kHz\n", pdev->id,
pdev->id, dev->rev >> 4, dev->rev & 0xf, dev->speed); pdata->rev, dev->rev >> 4, dev->rev & 0xf, dev->speed);
omap_i2c_idle(dev); omap_i2c_idle(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment