diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-05-02 16:31:29 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-05-02 16:31:29 -0400 |
commit | 33b9f582c5c1db515412cc7efff28f7d1779321f (patch) | |
tree | 60ea1b403b41f651bc570f4c368ba82064880796 /arch/arm/mach-omap2/omap_hwmod.c | |
parent | 946342d03ec4e8367bba7bb99e7155e97f69058a (diff) | |
parent | 008ca431822f39a023322b3598d8366faf46cfc1 (diff) |
Merge branch 'cleanup' into for-linus
Conflicts:
arch/arm/plat-omap/dmtimer.c
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index a202a4785104..ede9d495a9e2 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -1666,7 +1666,7 @@ static int _deassert_hardreset(struct omap_hwmod *oh, const char *name) | |||
1666 | return -ENOSYS; | 1666 | return -ENOSYS; |
1667 | 1667 | ||
1668 | ret = _lookup_hardreset(oh, name, &ohri); | 1668 | ret = _lookup_hardreset(oh, name, &ohri); |
1669 | if (IS_ERR_VALUE(ret)) | 1669 | if (ret < 0) |
1670 | return ret; | 1670 | return ret; |
1671 | 1671 | ||
1672 | if (oh->clkdm) { | 1672 | if (oh->clkdm) { |
@@ -2416,7 +2416,7 @@ static int __init _init(struct omap_hwmod *oh, void *data) | |||
2416 | _init_mpu_rt_base(oh, NULL); | 2416 | _init_mpu_rt_base(oh, NULL); |
2417 | 2417 | ||
2418 | r = _init_clocks(oh, NULL); | 2418 | r = _init_clocks(oh, NULL); |
2419 | if (IS_ERR_VALUE(r)) { | 2419 | if (r < 0) { |
2420 | WARN(1, "omap_hwmod: %s: couldn't init clocks\n", oh->name); | 2420 | WARN(1, "omap_hwmod: %s: couldn't init clocks\n", oh->name); |
2421 | return -EINVAL; | 2421 | return -EINVAL; |
2422 | } | 2422 | } |