summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clock.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-11-04 16:48:35 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-02-08 11:38:39 +0000
commit57137181e3136d4c7b20b4b95b9817efd38f8f07 (patch)
tree3a5986311d910db1a0f721e5e1cbe3f3d056fd66 /arch/arm/mach-omap2/clock.c
parent897dcded6fb6565f4d1c22a55d21f135403db132 (diff)
downloadblackbird-op-linux-57137181e3136d4c7b20b4b95b9817efd38f8f07.tar.gz
blackbird-op-linux-57137181e3136d4c7b20b4b95b9817efd38f8f07.zip
[ARM] omap: kill PARENT_CONTROLS_CLOCK
PARENT_CONTROLS_CLOCK just makes enable/disable no-op, and is functionally an alias for ALWAYS_ENABLED. This can be handled in the same way, using clkops_null. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2/clock.c')
-rw-r--r--arch/arm/mach-omap2/clock.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c
index fa99c0b71d3f..21fbe29810ac 100644
--- a/arch/arm/mach-omap2/clock.c
+++ b/arch/arm/mach-omap2/clock.c
@@ -271,9 +271,6 @@ int _omap2_clk_enable(struct clk *clk)
{
u32 regval32;
- if (clk->flags & PARENT_CONTROLS_CLOCK)
- return 0;
-
if (clk->ops && clk->ops->enable)
return clk->ops->enable(clk);
@@ -301,9 +298,6 @@ void _omap2_clk_disable(struct clk *clk)
{
u32 regval32;
- if (clk->flags & PARENT_CONTROLS_CLOCK)
- return;
-
if (clk->ops && clk->ops->disable) {
clk->ops->disable(clk);
return;
OpenPOWER on IntegriCloud