projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2012e49
)
arm: msm: return error pointer in vreg_get if vreg not found
author
Steve Muckle
<smuckle@quicinc.com>
Thu, 4 Mar 2010 20:38:05 +0000
(12:38 -0800)
committer
Daniel Walker
<dwalker@codeaurora.org>
Wed, 12 May 2010 16:14:34 +0000
(09:14 -0700)
Signed-off-by: Steve Muckle <smuckle@quicinc.com>
arch/arm/mach-msm/vreg.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-msm/vreg.c
b/arch/arm/mach-msm/vreg.c
index fcb0b9f256841a291616d85cd1099a09bd8bc088..a839e1913c5b0a9f880e259e62f81466edae4667 100644
(file)
--- a/
arch/arm/mach-msm/vreg.c
+++ b/
arch/arm/mach-msm/vreg.c
@@
-70,7
+70,7
@@
struct vreg *vreg_get(struct device *dev, const char *id)
if (!strcmp(vregs[n].name, id))
return vregs + n;
}
- return
0
;
+ return
ERR_PTR(-ENOENT)
;
}
void vreg_put(struct vreg *vreg)