diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-30 14:02:01 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-02-17 19:53:03 +0300 |
commit | af719c18075f76f83e363bd13a97937b2e9f3f7d (patch) | |
tree | 070ddf1e9f8a895a5f01f8041904ea3684a5c46d /drivers/clk/at91 | |
parent | 4747639f01c9247250b351e02c179b337de7a159 (diff) | |
download | linux-af719c18075f76f83e363bd13a97937b2e9f3f7d.tar.xz |
clk: at91: pmc: drop at91_pmc_base
at91_pmc_base is not used anymore, remove it along with at91_pmc_read and
at91_pmc_write.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/at91')
-rw-r--r-- | drivers/clk/at91/pmc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c index 361ea0c1d3c9..dce285549de2 100644 --- a/drivers/clk/at91/pmc.c +++ b/drivers/clk/at91/pmc.c @@ -12,7 +12,6 @@ #include <linux/clkdev.h> #include <linux/clk/at91_pmc.h> #include <linux/of.h> -#include <linux/of_address.h> #include <linux/mfd/syscon.h> #include <linux/regmap.h> @@ -29,9 +28,6 @@ struct at91_pmc { const struct at91_pmc_caps *caps; }; -void __iomem *at91_pmc_base; -EXPORT_SYMBOL_GPL(at91_pmc_base); - int of_at91_get_clk_range(struct device_node *np, const char *propname, struct clk_range *range) { @@ -108,11 +104,8 @@ static void __init of_at91_pmc_setup(struct device_node *np, const struct at91_pmc_caps *caps) { struct at91_pmc *pmc; - void __iomem *regbase = of_iomap(np, 0); struct regmap *regmap; - at91_pmc_base = regbase; - regmap = syscon_node_to_regmap(np); if (IS_ERR(regmap)) panic("Could not retrieve syscon regmap"); |