aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2017-08-04 10:43:21 -0400
committerTero Kristo <t-kristo@ti.com>2017-12-04 04:35:21 -0500
commit17d56e80f1afcd779909224265dcd3a2bb20d6c7 (patch)
tree33c4e3f6710276b70752c13a22c71ec5837c67ec
parent6e83ecaa453d0e574723cc94f46eae74e3820a41 (diff)
ARM: OMAP2+: clockdomain: remove the obsolete clkdm_xlate_address API
This is no longer used for anything so it can be dropped. Signed-off-by: Tero Kristo <t-kristo@ti.com>
-rw-r--r--arch/arm/mach-omap2/clockdomain.c8
-rw-r--r--arch/arm/mach-omap2/clockdomain.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/clockdomain.c b/arch/arm/mach-omap2/clockdomain.c
index 518926410b62..b79b1ca9aee9 100644
--- a/arch/arm/mach-omap2/clockdomain.c
+++ b/arch/arm/mach-omap2/clockdomain.c
@@ -1224,14 +1224,6 @@ ccd_exit:
1224 return 0; 1224 return 0;
1225} 1225}
1226 1226
1227u32 clkdm_xlate_address(struct clockdomain *clkdm)
1228{
1229 if (arch_clkdm->clkdm_xlate_address)
1230 return arch_clkdm->clkdm_xlate_address(clkdm);
1231
1232 return 0;
1233}
1234
1235/** 1227/**
1236 * clkdm_hwmod_enable - add an enabled downstream hwmod to this clkdm 1228 * clkdm_hwmod_enable - add an enabled downstream hwmod to this clkdm
1237 * @clkdm: struct clockdomain * 1229 * @clkdm: struct clockdomain *
diff --git a/arch/arm/mach-omap2/clockdomain.h b/arch/arm/mach-omap2/clockdomain.h
index 827f01e2d0af..24667a5a9dc0 100644
--- a/arch/arm/mach-omap2/clockdomain.h
+++ b/arch/arm/mach-omap2/clockdomain.h
@@ -175,7 +175,6 @@ struct clkdm_ops {
175 void (*clkdm_deny_idle)(struct clockdomain *clkdm); 175 void (*clkdm_deny_idle)(struct clockdomain *clkdm);
176 int (*clkdm_clk_enable)(struct clockdomain *clkdm); 176 int (*clkdm_clk_enable)(struct clockdomain *clkdm);
177 int (*clkdm_clk_disable)(struct clockdomain *clkdm); 177 int (*clkdm_clk_disable)(struct clockdomain *clkdm);
178 u32 (*clkdm_xlate_address)(struct clockdomain *clkdm);
179}; 178};
180 179
181int clkdm_register_platform_funcs(struct clkdm_ops *co); 180int clkdm_register_platform_funcs(struct clkdm_ops *co);
@@ -214,7 +213,6 @@ int clkdm_clk_enable(struct clockdomain *clkdm, struct clk *clk);
214int clkdm_clk_disable(struct clockdomain *clkdm, struct clk *clk); 213int clkdm_clk_disable(struct clockdomain *clkdm, struct clk *clk);
215int clkdm_hwmod_enable(struct clockdomain *clkdm, struct omap_hwmod *oh); 214int clkdm_hwmod_enable(struct clockdomain *clkdm, struct omap_hwmod *oh);
216int clkdm_hwmod_disable(struct clockdomain *clkdm, struct omap_hwmod *oh); 215int clkdm_hwmod_disable(struct clockdomain *clkdm, struct omap_hwmod *oh);
217u32 clkdm_xlate_address(struct clockdomain *clkdm);
218 216
219extern void __init omap242x_clockdomains_init(void); 217extern void __init omap242x_clockdomains_init(void);
220extern void __init omap243x_clockdomains_init(void); 218extern void __init omap243x_clockdomains_init(void);