diff options
author | Benoit Cousson <b-cousson@ti.com> | 2011-08-10 09:30:09 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-10-04 12:52:23 -0400 |
commit | f718e2c034bf6ff872106344935006230764cb12 (patch) | |
tree | 3653ea104c56ca98ab60ff89bb160e181cc5855c /arch/arm/mach-omap2/dma.c | |
parent | b7b5bc91d422ff51ff84dfd5949e9d2f17a550c8 (diff) |
ARM: OMAP2+: devices: Remove all omap_device_pm_latency structures
Remove all these duplicated structures since a default one is now
available.
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/dma.c')
-rw-r--r-- | arch/arm/mach-omap2/dma.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/dma.c b/arch/arm/mach-omap2/dma.c index ae8cb3fb1830..a59a45a0096e 100644 --- a/arch/arm/mach-omap2/dma.c +++ b/arch/arm/mach-omap2/dma.c | |||
@@ -87,14 +87,6 @@ static u16 reg_map[] = { | |||
87 | [CCDN] = 0xd8, | 87 | [CCDN] = 0xd8, |
88 | }; | 88 | }; |
89 | 89 | ||
90 | static struct omap_device_pm_latency omap2_dma_latency[] = { | ||
91 | { | ||
92 | .deactivate_func = omap_device_idle_hwmods, | ||
93 | .activate_func = omap_device_enable_hwmods, | ||
94 | .flags = OMAP_DEVICE_LATENCY_AUTO_ADJUST, | ||
95 | }, | ||
96 | }; | ||
97 | |||
98 | static void __iomem *dma_base; | 90 | static void __iomem *dma_base; |
99 | static inline void dma_write(u32 val, int reg, int lch) | 91 | static inline void dma_write(u32 val, int reg, int lch) |
100 | { | 92 | { |
@@ -258,8 +250,7 @@ static int __init omap2_system_dma_init_dev(struct omap_hwmod *oh, void *unused) | |||
258 | 250 | ||
259 | p->errata = configure_dma_errata(); | 251 | p->errata = configure_dma_errata(); |
260 | 252 | ||
261 | pdev = omap_device_build(name, 0, oh, p, sizeof(*p), | 253 | pdev = omap_device_build(name, 0, oh, p, sizeof(*p), NULL, 0, 0); |
262 | omap2_dma_latency, ARRAY_SIZE(omap2_dma_latency), 0); | ||
263 | kfree(p); | 254 | kfree(p); |
264 | if (IS_ERR(pdev)) { | 255 | if (IS_ERR(pdev)) { |
265 | pr_err("%s: Can't build omap_device for %s:%s.\n", | 256 | pr_err("%s: Can't build omap_device for %s:%s.\n", |