commit | 4a4456e5ea949051254eb093c4459e6a82d087e7 | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Tue Sep 27 15:10:38 2011 -0700 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Wed Oct 05 10:36:39 2011 -0700 |
tree | 108b8f595045ca7ed98155fa96643984a6c067cf | |
parent | e49436af7ed9b91d50360a666f3959579fe33c7c [diff] |
power: pm8921-bms: fix warnings 'row1' and 'row2' might be used uninitialized in interpolate_scalingfactor_pc. There would be a memory leak in the probe function if battery data is bad. Free the chip memory before returning. Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>