rockchip: i2c: Update the driver to use the new clock ID
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:43:42 +0000 (19:43 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:34 +0000 (20:42 -0700)
commit930bc3742372f6b61fa86852a0e63c78375bbbeb
tree1699678b58d9211278b53643785139a22d613a7e
parent64b7faa7f9583d31e954c10de52275cdf2bf0ee1
rockchip: i2c: Update the driver to use the new clock ID

We can use the new clk_get_by_index() function to get the correct clock.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/i2c/rk_i2c.c