summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2017-08-29 19:03:34 +0200
committerTony Lindgren <tony@atomide.com>2017-09-19 20:04:56 +0200
commit680dc624f1e136fbd11e354b978a1873c4736aba (patch)
tree45723568e36991381ed5af11c0a1bd792f2605ee /arch/arm/mach-omap2
parentARM: OMAP2+: Fix overwriting of clkctrl and modulemode values (diff)
downloadlinux-680dc624f1e136fbd11e354b978a1873c4736aba.tar.xz
linux-680dc624f1e136fbd11e354b978a1873c4736aba.zip
ARM: OMAP2+: Drop unused omap_init_hdq
We now boot all of mach-omap2 in device tree only mode and this is now dead code. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/hdq1w.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/arm/mach-omap2/hdq1w.c b/arch/arm/mach-omap2/hdq1w.c
index f3897d82e53e..2bc4db23ca56 100644
--- a/arch/arm/mach-omap2/hdq1w.c
+++ b/arch/arm/mach-omap2/hdq1w.c
@@ -75,25 +75,3 @@ int omap_hdq1w_reset(struct omap_hwmod *oh)
return 0;
}
-
-#ifndef CONFIG_OF
-static int __init omap_init_hdq(void)
-{
- int id = -1;
- struct platform_device *pdev;
- struct omap_hwmod *oh;
- char *oh_name = "hdq1w";
- char *devname = "omap_hdq";
-
- oh = omap_hwmod_lookup(oh_name);
- if (!oh)
- return 0;
-
- pdev = omap_device_build(devname, id, oh, NULL, 0);
- WARN(IS_ERR(pdev), "Can't build omap_device for %s:%s.\n",
- devname, oh->name);
-
- return 0;
-}
-omap_arch_initcall(omap_init_hdq);
-#endif