rockchip: spi: Update the driver to use the new clock ID
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:43:43 +0000 (19:43 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:34 +0000 (20:42 -0700)
commit71037d1ca0a302ac0db8846a18589f856b54341e
treedf1e7a01d75ebb06d600fb89984d6f958323675c
parent930bc3742372f6b61fa86852a0e63c78375bbbeb
rockchip: spi: 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/spi/rk_spi.c