MIPS, clk: move jz4740 UDC auto suspend functions to jz4740-cgu
authorPaul Burton <paul.burton@imgtec.com>
Sun, 24 May 2015 15:11:38 +0000 (16:11 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Jun 2015 19:53:18 +0000 (21:53 +0200)
commited286ca5d627619673b7dad27f48252498e3905c
tree57f3ea2b35095dff18f149a54474a2508cc5c897
parent41dd641e9a1a7229383f9b342a57cb6720e7ea46
MIPS, clk: move jz4740 UDC auto suspend functions 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 the jz4740_clock_udc_{dis,en}able_auto_suspend functions
there 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/10154/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/clock.c
drivers/clk/ingenic/jz4740-cgu.c