power: max17042: interpolate RBAT values
authorSivaram Nair <sivaramn@nvidia.com>
Tue, 9 Apr 2013 08:35:15 +0000 (11:35 +0300)
committerMrutyunjay Sawant <msawant@nvidia.com>
Thu, 25 Apr 2013 13:14:35 +0000 (06:14 -0700)
commitcbdee27a0995508c02dd5387a0ce55cfdc9509b7
tree886a9bb47afcd383a1800582eb05e0d6547f6099
parent13df76a419e402fed56e9121414b1813a4d504ad
power: max17042: interpolate RBAT values

Patch to interpolate RBAT values from discrete steps.

Bug 1264825

Change-Id: Id2ddcde984d1ddd0ac27786d6fd3abe2d7aa4239
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/222573
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
drivers/power/max17042_battery.c