power: max77665-charger: add charging regulator
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 30 May 2013 14:56:14 +0000 (19:56 +0530)
committerHarshada Kale <hkale@nvidia.com>
Mon, 3 Jun 2013 11:12:06 +0000 (04:12 -0700)
commitfa256e91b25cc3b5a3662f1e53c480fb518ac9e5
tree9690c37f8ab071add565e82cce165719a85116c8
parent9a10669af1ea46b1a55d03f47d6c66d835ecc181
power: max77665-charger: add charging regulator

Add charging regulator to set the charging current.
The client driver call regulator API to set the charging
current.

Change-Id: Ic0e9b9291f582e6db6ded686770b4c59659791c8
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/234255
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
drivers/power/max77665-charger.c
include/linux/max77665-charger.h