Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: renesas: r7s9210: Always use readl()

On arm32, there is no reason to use the (soon deprecated) clk_readl().
Hence use the generic readl() instead.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>

+2 -1
+2 -1
drivers/clk/renesas/r7s9210-cpg-mssr.c
··· 11 11 12 12 #include <linux/clk.h> 13 13 #include <linux/clk-provider.h> 14 + #include <linux/io.h> 14 15 #include <dt-bindings/clock/r7s9210-cpg-mssr.h> 15 16 #include "renesas-cpg-mssr.h" 16 17 ··· 120 119 if (clk_get_rate(extal_clk) > 12000000) 121 120 cpg_mode = 1; 122 121 123 - frqcr = clk_readl(base + CPG_FRQCR) & 0xFFF; 122 + frqcr = readl(base + CPG_FRQCR) & 0xFFF; 124 123 if (frqcr == 0x012) 125 124 index = 0; 126 125 else if (frqcr == 0x112)