power: max17048: Remove charging done check and add export soc get fuction
authorHyongbin Kim <hyongbink@nvidia.com>
Thu, 27 Jun 2013 07:07:38 +0000 (16:07 +0900)
committerGabby Lee <galee@nvidia.com>
Mon, 1 Jul 2013 02:12:29 +0000 (19:12 -0700)
commit44cb7a367eef615a80fc33d0118d6950d2716d66
treedf50481467e91e0bd7caa300cddfffe4bbfae01e
parente69fa302132661c71154a8cc0ff92155cdd834f9
power: max17048: Remove charging done check and add export soc get fuction

Remove forced set 100% SOC code when charging done.
Sometimes, charging termination is done under 98% SOC,
when tegratab spend whole power of charger and charging current
drop under ITERM.
Charger driver will check SOC and control charging.

Bug 1310558
Bug 1316010

Change-Id: I127665fc4c1fa68584080b879f2184687c6e692b
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/243269
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
drivers/power/max17048_battery.c
include/linux/max17048_battery.h