summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-11-19 15:50:53 +0300
committerGeert Uytterhoeven <geert+renesas@glider.be>2020-12-10 10:34:01 +0300
commitfd0d8ed7c1b430f7e4a0a823a924ae3c849d74a3 (patch)
tree2fbd7618c1dc4c13f816538fa65086762e9cd6bb /drivers/clk
parent40745482eec81bea686cd1b38693191dc7e9ac66 (diff)
downloadlinux-fd0d8ed7c1b430f7e4a0a823a924ae3c849d74a3.tar.xz
clk: renesas: sh73a0: Stop using __raw_*() I/O accessors
There is no reason to keep on using the __raw_{read,write}l() I/O accessors in Renesas ARM driver code. Switch to using the plain {read,write}l() I/O accessors, to have a chance that this works on big-endian. Suggested-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Link: https://lore.kernel.org/r/20201119125053.4065746-1-geert+renesas@glider.be
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/renesas/clk-sh73a0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/renesas/clk-sh73a0.c b/drivers/clk/renesas/clk-sh73a0.c
index 5f25a70bc61c..4146c1d717b9 100644
--- a/drivers/clk/renesas/clk-sh73a0.c
+++ b/drivers/clk/renesas/clk-sh73a0.c
@@ -121,7 +121,7 @@ sh73a0_cpg_register_clock(struct device_node *np, struct sh73a0_cpg *cpg,
(phy_no ? CPG_DSI1PHYCR : CPG_DSI0PHYCR);
parent_name = phy_no ? "dsi1pck" : "dsi0pck";
- mult = __raw_readl(dsi_reg);
+ mult = readl(dsi_reg);
if (!(mult & 0x8000))
mult = 1;
else