commit | 12a891c4e875c136ebeebd0f1510cf0d2e4195d1 | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Thu Apr 12 23:52:06 2012 -0700 |
committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Fri Apr 13 00:59:47 2012 -0700 |
tree | f1f75be29c05e2203f5062c7076b72331d724060 | |
parent | fd8655c30022d55092a12a9865b471a81d4c1038 [diff] |
power: pm8921-bms: fix the units of batt_temp for rbatt The scaling factor tables has temperature in units of degree celcius. The temperature passed to the get_rbatt function is in deci degree celcius. Convert the temperature to degree celcius before passing it to the functions that read the scaling factor tables. Change-Id: Iffb6a7c8d39ba7ececddadeb52913c3a19ee67bd Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>