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/hwspinlock.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/hwspinlock.c')
-rw-r--r-- | arch/arm/mach-omap2/hwspinlock.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm/mach-omap2/hwspinlock.c b/arch/arm/mach-omap2/hwspinlock.c index 0b3ae9d9c3b3..36e21091b06a 100644 --- a/arch/arm/mach-omap2/hwspinlock.c +++ b/arch/arm/mach-omap2/hwspinlock.c | |||
@@ -23,14 +23,6 @@ | |||
23 | #include <plat/omap_hwmod.h> | 23 | #include <plat/omap_hwmod.h> |
24 | #include <plat/omap_device.h> | 24 | #include <plat/omap_device.h> |
25 | 25 | ||
26 | struct omap_device_pm_latency omap_spinlock_latency[] = { | ||
27 | { | ||
28 | .deactivate_func = omap_device_idle_hwmods, | ||
29 | .activate_func = omap_device_enable_hwmods, | ||
30 | .flags = OMAP_DEVICE_LATENCY_AUTO_ADJUST, | ||
31 | } | ||
32 | }; | ||
33 | |||
34 | int __init hwspinlocks_init(void) | 26 | int __init hwspinlocks_init(void) |
35 | { | 27 | { |
36 | int retval = 0; | 28 | int retval = 0; |
@@ -48,9 +40,7 @@ int __init hwspinlocks_init(void) | |||
48 | if (oh == NULL) | 40 | if (oh == NULL) |
49 | return -EINVAL; | 41 | return -EINVAL; |
50 | 42 | ||
51 | pdev = omap_device_build(dev_name, 0, oh, NULL, 0, | 43 | pdev = omap_device_build(dev_name, 0, oh, NULL, 0, NULL, 0, false); |
52 | omap_spinlock_latency, | ||
53 | ARRAY_SIZE(omap_spinlock_latency), false); | ||
54 | if (IS_ERR(pdev)) { | 44 | if (IS_ERR(pdev)) { |
55 | pr_err("Can't build omap_device for %s:%s\n", dev_name, | 45 | pr_err("Can't build omap_device for %s:%s\n", dev_name, |
56 | oh_name); | 46 | oh_name); |