CLK: SPEAr: Remove unused dummy apb_pclk
authorVipul Kumar Samar <vipulkumar.samar@st.com>
Sat, 10 Nov 2012 06:43:47 +0000 (12:13 +0530)
committerMike Turquette <mturquette@linaro.org>
Wed, 21 Nov 2012 19:46:12 +0000 (11:46 -0800)
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>
drivers/clk/spear/spear1310_clock.c
drivers/clk/spear/spear1340_clock.c
drivers/clk/spear/spear3xx_clock.c
drivers/clk/spear/spear6xx_clock.c

index bc7f37e131cdb0650766130c796cc576e4d71259..147e25f00405aa4bd0968935bc3be7948ba26715 100644 (file)
@@ -388,9 +388,6 @@ void __init spear1310_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);
index d4de680bf51fd47d54dbae46da658ee489dbe1be..82abea366b785d15f9d138885e240822d29762fb 100644 (file)
@@ -445,9 +445,6 @@ void __init spear1340_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);
index a07c067fe96084c51b74b34c0fd6fbb4fb9cd9fe..33d3ac588da783626554642bd1a9cbffea6ecb61 100644 (file)
@@ -366,9 +366,6 @@ void __init spear3xx_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);
index 8a81770be4c517a4f5a436566021d07962a606c7..e862a333ad306166554098b919fc512ab51f13ae 100644 (file)
@@ -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);