git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e083587
)
generic-adc-battery: Fix checking if none of the channels are supported
author
Axel Lin
<axel.lin@ingics.com>
Fri, 24 May 2013 17:41:44 +0000
(
01:41
+0800)
committer
Anton Vorontsov
<anton@enomsg.org>
Fri, 7 Jun 2013 00:33:40 +0000
(17:33 -0700)
If none of the channels are supported, index is 0. Also ensure to return
error code instead of 0 in goto second_mem_fail path.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: anish kumar <anish198519851985@gmail.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/generic-adc-battery.c
patch
|
blob
|
history
diff --cc
drivers/power/generic-adc-battery.c
Simple merge