summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorJonghwa Lee <jonghwa3.lee@samsung.com>2014-10-10 17:42:42 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 12:00:56 +0900
commit2cbc9f5aa1f4be57437e41394547cee1826d7fc5 (patch)
tree77442909667c50c281fc3c65d3379c00d4fdbbba /firmware
parente2b7f1a2fe65fcb37d1ea687d8e61bde70bda940 (diff)
downloadlinux-3.10-2cbc9f5aa1f4be57437e41394547cee1826d7fc5.tar.gz
linux-3.10-2cbc9f5aa1f4be57437e41394547cee1826d7fc5.tar.bz2
linux-3.10-2cbc9f5aa1f4be57437e41394547cee1826d7fc5.zip
power: charger-manager: Add num_chargers variable to desc structure.
To confirm NULL point exception and also follow the common convention of 'for loop' control, fix the driver to use scalar variable, 'num_chargers' when it retrieves the power_supply pointer array. Change-Id: Iab834cf93822b1a03419ca9933e82d6396cc0474 Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions