summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-10-09 00:57:41 +0200
committerTony Lindgren <tony@atomide.com>2012-10-09 00:57:41 +0200
commitfce680e9faaa8acc0ab0a931c5fa823b581cbab0 (patch)
treec96026ec637128c21c665a733db5594ebebbb5a4 /arch/arm/mach-omap2/pm.c
parentMerge tag 'soc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm... (diff)
parentARM: OMAP: SmartReflex: fix error path in init function (diff)
downloadlinux-fce680e9faaa8acc0ab0a931c5fa823b581cbab0.tar.xz
linux-fce680e9faaa8acc0ab0a931c5fa823b581cbab0.zip
Merge tag 'for_3.7-fixes-pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into omap-for-v3.7-rc1/fixes-pm
OMAP PM related fixes for v3.7-rc
Diffstat (limited to 'arch/arm/mach-omap2/pm.c')
-rw-r--r--arch/arm/mach-omap2/pm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
index abefbc4d8e0b..1e40afe7ed3c 100644
--- a/arch/arm/mach-omap2/pm.c
+++ b/arch/arm/mach-omap2/pm.c
@@ -177,7 +177,7 @@ static int __init omap2_set_init_voltage(char *vdd_name, char *clk_name,
}
voltdm = voltdm_lookup(vdd_name);
- if (IS_ERR(voltdm)) {
+ if (!voltdm) {
pr_err("%s: unable to get vdd pointer for vdd_%s\n",
__func__, vdd_name);
goto exit;