MIPS: JZ4740: replace use of jz4740_clock_bdata
authorPaul Burton <paul.burton@imgtec.com>
Sun, 24 May 2015 15:11:33 +0000 (16:11 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Jun 2015 19:53:12 +0000 (21:53 +0200)
commite06b86a33ad9a225d6336f2489cdd79aeaa9d59b
treead484b9facecd02ee2a9e800d978c41c67b64179
parent1f4b840983ffbd7053b5c2219deaf62b4b8a3c12
MIPS: JZ4740: replace use of jz4740_clock_bdata

Replace uses of the jz4740_clock_bdata struct with calls to clk_get_rate
for the appropriate clock. This is in preparation for migrating the
clocks towards common clock framework & devicetree.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-mips@linux-mips.org
Cc: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Cc: linux-kernel@vger.kernel.org
Cc: Apelete Seketeli <apelete@seketeli.net>
Patchwork: https://patchwork.linux-mips.org/patch/10149/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/platform.c
arch/mips/jz4740/reset.c
arch/mips/jz4740/time.c