mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-05 00:00:57 +02:00
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>