diff options
author | Michael Turquette <mturquette@linaro.org> | 2015-01-29 14:50:30 -0500 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2015-02-02 17:23:39 -0500 |
commit | 42ed83f51619bdde623f1a8d87836e707c54608d (patch) | |
tree | 1ab683f8a1af320488fc06e8b31ced05abda45f6 /arch/arm/mach-omap2/clock_common_data.c | |
parent | fe767560523d7556cb11fef466adf4b10141d73b (diff) |
arm: omap2+ remove dead clock code
Remove omap_clocks_register and dummy_ck. The former is not used anymore
now that the statically defined clk stuctures are replaced with proper
descriptors and registered with the framework.
The dummy clock in arch/arm/mach-omap2 is made redundant by the OMAP3+
clock data that migrated to drivers/clk.
An additional benefit to this clean-up is removing the references to
clk-private.h which will be removed.
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'arch/arm/mach-omap2/clock_common_data.c')
-rw-r--r-- | arch/arm/mach-omap2/clock_common_data.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-omap2/clock_common_data.c b/arch/arm/mach-omap2/clock_common_data.c index febd0a279224..61b60dfb14ce 100644 --- a/arch/arm/mach-omap2/clock_common_data.c +++ b/arch/arm/mach-omap2/clock_common_data.c | |||
@@ -16,7 +16,6 @@ | |||
16 | * OMAP3xxx clock definition files. | 16 | * OMAP3xxx clock definition files. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/clk-private.h> | ||
20 | #include "clock.h" | 19 | #include "clock.h" |
21 | 20 | ||
22 | /* clksel_rate data common to 24xx/343x */ | 21 | /* clksel_rate data common to 24xx/343x */ |
@@ -114,16 +113,3 @@ const struct clksel_rate div31_1to31_rates[] = { | |||
114 | { .div = 31, .val = 31, .flags = RATE_IN_4430 | RATE_IN_AM33XX }, | 113 | { .div = 31, .val = 31, .flags = RATE_IN_4430 | RATE_IN_AM33XX }, |
115 | { .div = 0 }, | 114 | { .div = 0 }, |
116 | }; | 115 | }; |
117 | |||
118 | /* Clocks shared between various OMAP SoCs */ | ||
119 | |||
120 | static struct clk_ops dummy_ck_ops = {}; | ||
121 | |||
122 | struct clk_core dummy_ck_core = { | ||
123 | .name = "dummy_clk", | ||
124 | .ops = &dummy_ck_ops, | ||
125 | .flags = CLK_IS_BASIC, | ||
126 | }; | ||
127 | struct clk dummy_ck = { | ||
128 | .core = &dummy_ck_core, | ||
129 | }; | ||