summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAxel Lin2013-05-24 19:41:44 +0200
committerAnton Vorontsov2013-06-07 02:33:40 +0200
commitd211c6e82435dfa4ae9f4d80bb2ee75930bde5d4 (patch)
tree1bde31258a74078e08d3d814bf56072a6be0cfab /scripts
parentpower: Use platform_{get,set}_drvdata() (diff)
downloadkernel-qcow2-linux-d211c6e82435dfa4ae9f4d80bb2ee75930bde5d4.tar.gz
kernel-qcow2-linux-d211c6e82435dfa4ae9f4d80bb2ee75930bde5d4.tar.xz
kernel-qcow2-linux-d211c6e82435dfa4ae9f4d80bb2ee75930bde5d4.zip
generic-adc-battery: Fix checking if none of the channels are supported
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions