Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137291
b: refs/heads/master
c: 2e777bf
h: refs/heads/master
i:
  137289: e2ff165
  137287: edbee47
v: v3
  • Loading branch information
Russell King authored and Russell King committed Feb 8, 2009
1 parent 57fd047 commit a3512b1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ae8fce5c3baf84e319269e67823cf337ed9d359a
refs/heads/master: 2e777bf1f2482be13c2b678744d3497a4f0a0ec2
13 changes: 1 addition & 12 deletions trunk/arch/arm/plat-omap/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,18 +207,7 @@ EXPORT_SYMBOL(clk_set_parent);

struct clk *clk_get_parent(struct clk *clk)
{
unsigned long flags;
struct clk * ret = NULL;

if (clk == NULL || IS_ERR(clk))
return ret;

spin_lock_irqsave(&clockfw_lock, flags);
if (arch_clock->clk_get_parent)
ret = arch_clock->clk_get_parent(clk);
spin_unlock_irqrestore(&clockfw_lock, flags);

return ret;
return clk->parent;
}
EXPORT_SYMBOL(clk_get_parent);

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/plat-omap/include/mach/clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ struct clk_functions {
long (*clk_round_rate)(struct clk *clk, unsigned long rate);
int (*clk_set_rate)(struct clk *clk, unsigned long rate);
int (*clk_set_parent)(struct clk *clk, struct clk *parent);
struct clk * (*clk_get_parent)(struct clk *clk);
void (*clk_allow_idle)(struct clk *clk);
void (*clk_deny_idle)(struct clk *clk);
void (*clk_disable_unused)(struct clk *clk);
Expand Down

0 comments on commit a3512b1

Please sign in to comment.