power: max17048: Add 18bit model soc calculation
authorVenkat Reddy Talla <vreddytalla@nvidia.com>
Thu, 26 Sep 2013 10:58:32 +0000 (15:58 +0530)
committerAjay Nandakumar <anandakumarm@nvidia.com>
Thu, 3 Oct 2013 13:47:42 +0000 (18:47 +0530)
commitc49ce44c94bcc3f4ec68365f76e9b477e70a3ea2
tree221a6c17b04670703bfea5ea265b4a9f4af065a1
parentdd8a41d24ef79366eebdc8540aad5a83425ea661
power: max17048: Add 18bit model soc calculation

 Adding 18bit model soc calculation
 according to the model data bits
 Bug 1355408

Change-Id: If3499ed08390e882da52d7e0ef405715836a42cb
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/279318
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit ef3812253f2954ff72a1e330aa6ea0080e63fc42)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
drivers/power/max17048_battery.c