diff options
author | Kevin Hilman <khilman@ti.com> | 2012-06-18 12:12:24 -0600 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-06-18 12:12:24 -0600 |
commit | baa2607f56f1589eb21c01fe16aa5f5c3f9dad31 (patch) | |
tree | 41246cd2107d2f360e70f040ff45c1d5b36dc982 /arch/arm/mach-omap2 | |
parent | 9ebfd285371835b1c0243d15aaacd72d5def76f8 (diff) |
ARM: OMAP4: hwmod: drop extra cpu_is check from _wait_target_disable()
_omap4_wait_target_disable() is called only from inside _omap4_disable_module()
which is already protected by SoC specific checks. Remove the cpu_is check
here.
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 634a79836c6..2b845836f7d 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c @@ -823,9 +823,6 @@ static void _omap4_enable_module(struct omap_hwmod *oh) */ static int _omap4_wait_target_disable(struct omap_hwmod *oh) { - if (!cpu_is_omap44xx()) - return 0; - if (!oh) return -EINVAL; |