MIPS,clk: move jz4740_clock_set_wait_mode to jz4740-cgu
authorPaul Burton <paul.burton@imgtec.com>
Sun, 24 May 2015 15:11:37 +0000 (16:11 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Jun 2015 19:53:17 +0000 (21:53 +0200)
commit41dd641e9a1a7229383f9b342a57cb6720e7ea46
tree1d449d2800799b126035d8ce7c78a77a8763dad7
parentff1930c6bdf031e72e101a8aa47d54e73a745f93
MIPS,clk: move jz4740_clock_set_wait_mode to jz4740-cgu

The jz4740-cgu driver already has access to the CGU, so it makes sense
to move the few remaining accesses to the CGU from arch/mips/jz4740
there too. Move jz4740_clock_set_wait_mode for such consistency.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Mike Turquette <mturquette@linaro.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-clk@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/10153/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/clock.c
drivers/clk/ingenic/jz4740-cgu.c