OSDN Git Service

clk: at91: utmi: use pmc_read when the at91_pmc is available
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 11 Sep 2015 14:34:06 +0000 (16:34 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 16 Sep 2015 22:22:20 +0000 (15:22 -0700)
commitde661d002229c6c02e99e242fd5fc1f1da2fbe3b
tree3ccfb3b3baeccb9c620cad3ee2972ad283141794
parent8ee9c7de019596445fd81e7647f5509d90e2fb72
clk: at91: utmi: use pmc_read when the at91_pmc is available

at91_pmc_read is a workaround to allow external drivers to acces some
registers of the PMC. There is no need for it in clk-utmi.c as we aready
have a pointer to the struct at91_pmc.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/at91/clk-utmi.c