| commit | c448d98e7e2eceea73477e28ee75ed23b00ff3dc | [log] [tgz] |
|---|---|---|
| author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Tue Jun 28 20:48:36 2011 -0700 |
| committer | Bryan Huntsman <bryanh@codeaurora.org> | Mon Oct 03 09:59:00 2011 -0700 |
| tree | 4b81a36d6346bafda3f78e487c6791d2b4ffc126 | |
| parent | 814e6171ab7a99fdcb2207b5c0c96dab4b3a3f2b [diff] |
power: pm8921-bms: read temperature and voltage via adc Read the battery temeperature and voltage from the adc driver instead of hard coding them in the driver. In the charing began and charing end functions, use pm8921_bms_get_percent_charge api. This prevents duplicating calling the adc functions. Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>