summaryrefslogtreecommitdiffstats
path: root/drivers/clk/spear/spear6xx_clock.c
diff options
context:
space:
mode:
authorVipul Kumar Samar <vipulkumar.samar@st.com>2012-11-10 07:43:47 +0100
committerMike Turquette <mturquette@linaro.org>2012-11-21 20:46:12 +0100
commitb70e6d009a88e09805152597e02f3d97a1d6ee99 (patch)
treed253cf655a5dbb6da88335d2313f6ecc19c42ea5 /drivers/clk/spear/spear6xx_clock.c
parentCLK: SPEAr: Correct index scanning done for clock synths (diff)
downloadlinux-b70e6d009a88e09805152597e02f3d97a1d6ee99.tar.xz
linux-b70e6d009a88e09805152597e02f3d97a1d6ee99.zip
CLK: SPEAr: Remove unused dummy apb_pclk
Dummy clocks were added for ARM platforms, so that clk_get() for interface clk doesn't fail for amba devices from amba_probe(). Because there is no amba device for SPEAr that doesn't have a valid clock with dev_id for SPEAr, we don't need these dummy clocks. Hence, remove them. Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@st.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/spear/spear6xx_clock.c')
-rw-r--r--drivers/clk/spear/spear6xx_clock.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c
index 8a81770be4c5..e862a333ad30 100644
--- a/drivers/clk/spear/spear6xx_clock.c
+++ b/drivers/clk/spear/spear6xx_clock.c
@@ -119,9 +119,6 @@ void __init spear6xx_clk_init(void)
{
struct clk *clk, *clk1;
- clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL, CLK_IS_ROOT, 0);
- clk_register_clkdev(clk, "apb_pclk", NULL);
-
clk = clk_register_fixed_rate(NULL, "osc_32k_clk", NULL, CLK_IS_ROOT,
32000);
clk_register_clkdev(clk, "osc_32k_clk", NULL);