Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196212
b: refs/heads/master
c: 20383d8
h: refs/heads/master
v: v3
  • Loading branch information
Benoit Cousson authored and Paul Walmsley committed May 20, 2010
1 parent acc95a2 commit 0255f52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 4d3ae5a9a7b3685c6d260a82f4098145862b2cd3
refs/heads/master: 20383d82160d918047bb10a4f6e170f4bac195a7
12 changes: 6 additions & 6 deletions trunk/arch/arm/mach-omap2/omap_hwmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,9 @@ static int _init_main_clk(struct omap_hwmod *oh)
return 0;

c = omap_clk_get_by_name(oh->main_clk);
WARN(!c, "omap_hwmod: %s: cannot clk_get main_clk %s\n",
oh->name, oh->main_clk);
if (!c)
pr_warning("omap_hwmod: %s: cannot clk_get main_clk %s\n",
oh->name, oh->main_clk);
ret = -EINVAL;
oh->_clk = c;

Expand Down Expand Up @@ -446,9 +446,9 @@ static int _init_interface_clks(struct omap_hwmod *oh)
continue;

c = omap_clk_get_by_name(os->clk);
WARN(!c, "omap_hwmod: %s: cannot clk_get interface_clk %s\n",
oh->name, os->clk);
if (!c)
pr_warning("omap_hwmod: %s: cannot clk_get interface_clk %s\n",
oh->name, os->clk);
ret = -EINVAL;
os->_clk = c;
}
Expand All @@ -472,9 +472,9 @@ static int _init_opt_clks(struct omap_hwmod *oh)

for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) {
c = omap_clk_get_by_name(oc->clk);
WARN(!c, "omap_hwmod: %s: cannot clk_get opt_clk %s\n",
oh->name, oc->clk);
if (!c)
pr_warning("omap_hwmod: %s: cannot clk_get opt_clk %s\n",
oh->name, oc->clk);
ret = -EINVAL;
oc->_clk = c;
}
Expand Down

0 comments on commit 0255f52

Please sign in to comment.