summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-multiplier.c
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2019-04-18 13:12:11 +0200
committerStephen Boyd <sboyd@kernel.org>2019-04-23 19:57:49 +0200
commit5834fd75e6236605da8c439a64eaa33f3c8d02fe (patch)
tree2ff613d31f59604f24eb0734aa4f391d727a34af /drivers/clk/clk-multiplier.c
parentclk: core: remove powerpc special handling (diff)
downloadlinux-5834fd75e6236605da8c439a64eaa33f3c8d02fe.tar.xz
linux-5834fd75e6236605da8c439a64eaa33f3c8d02fe.zip
clk: core: replace clk_{readl,writel} with {readl,writel}
Now that clk_{readl,writel} is just an alias for {readl,writel}, we can switch all users of clk_* to use the accessors directly and remove the helpers. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> [sboyd@kernel.org: Also convert renesas file so that this can be compile independently] Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-multiplier.c')
-rw-r--r--drivers/clk/clk-multiplier.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/clk-multiplier.c b/drivers/clk/clk-multiplier.c
index 77327df9bf32..94470b4eadf4 100644
--- a/drivers/clk/clk-multiplier.c
+++ b/drivers/clk/clk-multiplier.c
@@ -16,7 +16,7 @@ static inline u32 clk_mult_readl(struct clk_multiplier *mult)
if (mult->flags & CLK_MULTIPLIER_BIG_ENDIAN)
return ioread32be(mult->reg);
- return clk_readl(mult->reg);
+ return readl(mult->reg);
}
static inline void clk_mult_writel(struct clk_multiplier *mult, u32 val)
@@ -24,7 +24,7 @@ static inline void clk_mult_writel(struct clk_multiplier *mult, u32 val)
if (mult->flags & CLK_MULTIPLIER_BIG_ENDIAN)
iowrite32be(val, mult->reg);
else
- clk_writel(val, mult->reg);
+ writel(val, mult->reg);
}
static unsigned long __get_mult(struct clk_multiplier *mult,