diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2013-01-11 03:01:29 -0500 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-01-28 13:19:34 -0500 |
commit | ef3ffe5a0458606c488def757bb7f6dd013c2db5 (patch) | |
tree | e6d804dd238da2bbad41af07785f61df903c8b6a /drivers/clk | |
parent | e5dd26302275562d8bedf885e7aa91bd73bfa041 (diff) |
clk: tegra30: remove unused TEGRA_CLK_DUPLICATE()s
With device tree support added for Tegra clocks look up is done from
device tree, remove unused TEGRA_CLK_DUPLICATE()s.
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/tegra/clk-tegra30.c | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/drivers/clk/tegra/clk-tegra30.c b/drivers/clk/tegra/clk-tegra30.c index 1c2765db1199..a1638129eba4 100644 --- a/drivers/clk/tegra/clk-tegra30.c +++ b/drivers/clk/tegra/clk-tegra30.c | |||
@@ -1654,41 +1654,6 @@ static void __init tegra30_periph_clk_init(void) | |||
1654 | clk_register_clkdev(clk, "emc", NULL); | 1654 | clk_register_clkdev(clk, "emc", NULL); |
1655 | clks[emc] = clk; | 1655 | clks[emc] = clk; |
1656 | 1656 | ||
1657 | /* i2c1-fast */ | ||
1658 | clk = clk_register_fixed_factor(NULL, "i2c1-fast", "pll_p_out3", | ||
1659 | CLK_SET_RATE_PARENT, 1, 1); | ||
1660 | clk_register_clkdev(clk, "fast-clk", "tegra-i2c.0"); | ||
1661 | |||
1662 | /* i2c2-fast */ | ||
1663 | clk = clk_register_fixed_factor(NULL, "i2c2-fast", "pll_p_out3", | ||
1664 | CLK_SET_RATE_PARENT, 1, 1); | ||
1665 | clk_register_clkdev(clk, "fast-clk", "tegra-i2c.1"); | ||
1666 | |||
1667 | /* i2c3-fast */ | ||
1668 | clk = clk_register_fixed_factor(NULL, "i2c3-fast", "pll_p_out3", | ||
1669 | CLK_SET_RATE_PARENT, 1, 1); | ||
1670 | clk_register_clkdev(clk, "fast-clk", "tegra-i2c.2"); | ||
1671 | |||
1672 | /* i2c4-fast */ | ||
1673 | clk = clk_register_fixed_factor(NULL, "i2c4-fast", "pll_p_out3", | ||
1674 | CLK_SET_RATE_PARENT, 1, 1); | ||
1675 | clk_register_clkdev(clk, "fast-clk", "tegra-i2c.3"); | ||
1676 | |||
1677 | /* i2c5-fast */ | ||
1678 | clk = clk_register_fixed_factor(NULL, "i2c5-fast", "pll_p_out3", | ||
1679 | CLK_SET_RATE_PARENT, 1, 1); | ||
1680 | clk_register_clkdev(clk, "fast-clk", "tegra-i2c.5"); | ||
1681 | |||
1682 | /* dsi1-fixed */ | ||
1683 | clk = clk_register_fixed_factor(NULL, "dsi1-fixed", "pll_p_out3", | ||
1684 | CLK_SET_RATE_PARENT, 1, 1); | ||
1685 | clk_register_clkdev(clk, "dsi-fixed", "tegradc.0"); | ||
1686 | |||
1687 | /* dsi2-fixed */ | ||
1688 | clk = clk_register_fixed_factor(NULL, "dsi2-fixed", "pll_p_out3", | ||
1689 | CLK_SET_RATE_PARENT, 1, 1); | ||
1690 | clk_register_clkdev(clk, "dsi-fixed", "tegradc.1"); | ||
1691 | |||
1692 | for (i = 0; i < ARRAY_SIZE(tegra_periph_clk_list); i++) { | 1657 | for (i = 0; i < ARRAY_SIZE(tegra_periph_clk_list); i++) { |
1693 | data = &tegra_periph_clk_list[i]; | 1658 | data = &tegra_periph_clk_list[i]; |
1694 | clk = tegra_clk_register_periph(data->name, data->parent_names, | 1659 | clk = tegra_clk_register_periph(data->name, data->parent_names, |
@@ -1948,19 +1913,9 @@ static __initdata struct tegra_clk_init_table init_table[] = { | |||
1948 | * table under two names. | 1913 | * table under two names. |
1949 | */ | 1914 | */ |
1950 | static struct tegra_clk_duplicate tegra_clk_duplicates[] = { | 1915 | static struct tegra_clk_duplicate tegra_clk_duplicates[] = { |
1951 | TEGRA_CLK_DUPLICATE(uarta, "serial8250.0", NULL), | ||
1952 | TEGRA_CLK_DUPLICATE(uartb, "serial8250.1", NULL), | ||
1953 | TEGRA_CLK_DUPLICATE(uartc, "serial8250.2", NULL), | ||
1954 | TEGRA_CLK_DUPLICATE(uartd, "serial8250.3", NULL), | ||
1955 | TEGRA_CLK_DUPLICATE(uarte, "serial8250.4", NULL), | ||
1956 | TEGRA_CLK_DUPLICATE(usbd, "utmip-pad", NULL), | 1916 | TEGRA_CLK_DUPLICATE(usbd, "utmip-pad", NULL), |
1957 | TEGRA_CLK_DUPLICATE(usbd, "tegra-ehci.0", NULL), | 1917 | TEGRA_CLK_DUPLICATE(usbd, "tegra-ehci.0", NULL), |
1958 | TEGRA_CLK_DUPLICATE(usbd, "tegra-otg", NULL), | 1918 | TEGRA_CLK_DUPLICATE(usbd, "tegra-otg", NULL), |
1959 | TEGRA_CLK_DUPLICATE(pll_p, "tegradc.0", "parent"), | ||
1960 | TEGRA_CLK_DUPLICATE(pll_p, "tegradc.1", "parent"), | ||
1961 | TEGRA_CLK_DUPLICATE(pll_d2_out0, "hdmi", "parent"), | ||
1962 | TEGRA_CLK_DUPLICATE(dsib, "tegradc.0", "dsib"), | ||
1963 | TEGRA_CLK_DUPLICATE(dsia, "tegradc.1", "dsia"), | ||
1964 | TEGRA_CLK_DUPLICATE(bsev, "tegra-avp", "bsev"), | 1919 | TEGRA_CLK_DUPLICATE(bsev, "tegra-avp", "bsev"), |
1965 | TEGRA_CLK_DUPLICATE(bsev, "nvavp", "bsev"), | 1920 | TEGRA_CLK_DUPLICATE(bsev, "nvavp", "bsev"), |
1966 | TEGRA_CLK_DUPLICATE(vde, "tegra-aes", "vde"), | 1921 | TEGRA_CLK_DUPLICATE(vde, "tegra-aes", "vde"), |
@@ -1969,33 +1924,8 @@ static struct tegra_clk_duplicate tegra_clk_duplicates[] = { | |||
1969 | TEGRA_CLK_DUPLICATE(cml1, "tegra_sata_cml", NULL), | 1924 | TEGRA_CLK_DUPLICATE(cml1, "tegra_sata_cml", NULL), |
1970 | TEGRA_CLK_DUPLICATE(cml0, "tegra_pcie", "cml"), | 1925 | TEGRA_CLK_DUPLICATE(cml0, "tegra_pcie", "cml"), |
1971 | TEGRA_CLK_DUPLICATE(pciex, "tegra_pcie", "pciex"), | 1926 | TEGRA_CLK_DUPLICATE(pciex, "tegra_pcie", "pciex"), |
1972 | TEGRA_CLK_DUPLICATE(i2c1, "tegra-i2c-slave.0", NULL), | ||
1973 | TEGRA_CLK_DUPLICATE(i2c2, "tegra-i2c-slave.1", NULL), | ||
1974 | TEGRA_CLK_DUPLICATE(i2c3, "tegra-i2c-slave.2", NULL), | ||
1975 | TEGRA_CLK_DUPLICATE(i2c4, "tegra-i2c-slave.3", NULL), | ||
1976 | TEGRA_CLK_DUPLICATE(i2c5, "tegra-i2c-slave.4", NULL), | ||
1977 | TEGRA_CLK_DUPLICATE(sbc1, "spi_slave_tegra.0", NULL), | ||
1978 | TEGRA_CLK_DUPLICATE(sbc2, "spi_slave_tegra.1", NULL), | ||
1979 | TEGRA_CLK_DUPLICATE(sbc3, "spi_slave_tegra.2", NULL), | ||
1980 | TEGRA_CLK_DUPLICATE(sbc4, "spi_slave_tegra.3", NULL), | ||
1981 | TEGRA_CLK_DUPLICATE(sbc5, "spi_slave_tegra.4", NULL), | ||
1982 | TEGRA_CLK_DUPLICATE(sbc6, "spi_slave_tegra.5", NULL), | ||
1983 | TEGRA_CLK_DUPLICATE(twd, "smp_twd", NULL), | 1927 | TEGRA_CLK_DUPLICATE(twd, "smp_twd", NULL), |
1984 | TEGRA_CLK_DUPLICATE(vcp, "nvavp", "vcp"), | 1928 | TEGRA_CLK_DUPLICATE(vcp, "nvavp", "vcp"), |
1985 | TEGRA_CLK_DUPLICATE(i2s0, NULL, "i2s0"), | ||
1986 | TEGRA_CLK_DUPLICATE(i2s1, NULL, "i2s1"), | ||
1987 | TEGRA_CLK_DUPLICATE(i2s2, NULL, "i2s2"), | ||
1988 | TEGRA_CLK_DUPLICATE(i2s3, NULL, "i2s3"), | ||
1989 | TEGRA_CLK_DUPLICATE(i2s4, NULL, "i2s4"), | ||
1990 | TEGRA_CLK_DUPLICATE(dam0, NULL, "dam0"), | ||
1991 | TEGRA_CLK_DUPLICATE(dam1, NULL, "dam1"), | ||
1992 | TEGRA_CLK_DUPLICATE(dam2, NULL, "dam2"), | ||
1993 | TEGRA_CLK_DUPLICATE(spdif_in, NULL, "spdif_in"), | ||
1994 | TEGRA_CLK_DUPLICATE(pll_p_out3, "tegra-i2c.0", "fast-clk"), | ||
1995 | TEGRA_CLK_DUPLICATE(pll_p_out3, "tegra-i2c.1", "fast-clk"), | ||
1996 | TEGRA_CLK_DUPLICATE(pll_p_out3, "tegra-i2c.2", "fast-clk"), | ||
1997 | TEGRA_CLK_DUPLICATE(pll_p_out3, "tegra-i2c.3", "fast-clk"), | ||
1998 | TEGRA_CLK_DUPLICATE(pll_p_out3, "tegra-i2c.4", "fast-clk"), | ||
1999 | TEGRA_CLK_DUPLICATE(clk_max, NULL, NULL), /* MUST be the last entry */ | 1929 | TEGRA_CLK_DUPLICATE(clk_max, NULL, NULL), /* MUST be the last entry */ |
2000 | }; | 1930 | }; |
2001 | 1931 | ||