power: max77660-charger-extcon: Set charging current with correct functions
authorDarbha Sriharsha <dsriharsha@nvidia.com>
Thu, 25 Jul 2013 08:42:24 +0000 (13:42 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:33:45 +0000 (13:33 -0700)
commitaf68e5acb74eb79f4c49fb939efcb0a0e27ef2e2
tree3101d4da1f67804b929fe22d93cdf6c2a5a7525f
parent81c738a73e3d90868e2a69d933dcda0d14b16942
power: max77660-charger-extcon: Set charging current with correct functions

Use the full_charging_current_enable and charging_current_disable
functions to set and disable charging current in the regulator
function

Bug 1284514

Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/239690
(cherry picked from commit 650c8a8431f443aac6b44641aee987134a23b6c5)

Change-Id: I1433ac3e379238df33535454780e31a965b87a01
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/253356
Reviewed-by: Automatic_Commit_Validation_User
drivers/power/max77660-charger-extcon.c