diff options
author | Tony Lindgren <tony@atomide.com> | 2017-12-14 17:32:06 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-12-14 17:32:06 +0100 |
commit | 7558562a70fbd6b3fa746fa33c76c9333aa0bb32 (patch) | |
tree | 578b1a05c422b37204eddee8d29f1049ff59846b /drivers/clk/ti/interface.c | |
parent | clk: ti: convert retry_init param to use void data type (diff) | |
download | linux-7558562a70fbd6b3fa746fa33c76c9333aa0bb32.tar.xz linux-7558562a70fbd6b3fa746fa33c76c9333aa0bb32.zip |
clk: ti: Drop legacy clk-3xxx-legacy code
We have now had omap3 booting in device tree only mode for a while
and all this code is unused.
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/clk/ti/interface.c')
-rw-r--r-- | drivers/clk/ti/interface.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/drivers/clk/ti/interface.c b/drivers/clk/ti/interface.c index 62cf50c1e1e3..41ae7021670e 100644 --- a/drivers/clk/ti/interface.c +++ b/drivers/clk/ti/interface.c @@ -67,38 +67,6 @@ static struct clk *_register_interface(struct device *dev, const char *name, return clk; } -#if defined(CONFIG_ARCH_OMAP3) && defined(CONFIG_ATAGS) -struct clk *ti_clk_register_interface(struct ti_clk *setup) -{ - const struct clk_hw_omap_ops *ops = &clkhwops_iclk_wait; - struct clk_omap_reg reg; - struct ti_clk_gate *gate; - - gate = setup->data; - reg.index = gate->module; - reg.offset = gate->reg; - reg.ptr = NULL; - - if (gate->flags & CLKF_NO_WAIT) - ops = &clkhwops_iclk; - - if (gate->flags & CLKF_HSOTGUSB) - ops = &clkhwops_omap3430es2_iclk_hsotgusb_wait; - - if (gate->flags & CLKF_DSS) - ops = &clkhwops_omap3430es2_iclk_dss_usbhost_wait; - - if (gate->flags & CLKF_SSI) - ops = &clkhwops_omap3430es2_iclk_ssi_wait; - - if (gate->flags & CLKF_AM35XX) - ops = &clkhwops_am35xx_ipss_wait; - - return _register_interface(NULL, setup->name, gate->parent, - ®, gate->bit_shift, ops); -} -#endif - static void __init _of_ti_interface_clk_setup(struct device_node *node, const struct clk_hw_omap_ops *ops) { |