omap-i2c: fix incorrect log message when using a device tree
When booting using a device tree, the adapter number is dynamically assigned after the log message is sent. This patch modifies the log message to get a correct adapter id. Signed-off-by: NFlorian Vaussard <florian.vaussard@epfl.ch> Tested-by: NBenoit Cousson <b-cousson@ti.com> Acked-by: NShubhrajyoti D <shubhrajyoti@ti.com> Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
Showing
想要评论请 注册 或 登录