diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-08-01 16:34:12 +0530 |
---|---|---|
committer | Lokesh Pathak <lpathak@nvidia.com> | 2012-08-07 08:45:08 -0700 |
commit | 65f9c0c5286dcccd3ed38d479215414c9cf00f1f (patch) | |
tree | dba2b4dd3144bf63b374924a24ff070c37ae23ff /drivers/mfd | |
parent | 0bf836b37cef4345629ecd8efb1a3e7f30628525 (diff) |
power: tps80031: battery-gauge: register as mfd sub device
Register battery gauge driver of TPS80031 as mfd
sub driver in place of adding it as a sub devices.
This is inline with the mfd driver policy.
Change-Id: I15765be19fc138695de2d813e5fa025400747c86
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/121134
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/tps80031.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/tps80031.c b/drivers/mfd/tps80031.c index a1b6237bfd02..f9f3f092d837 100644 --- a/drivers/mfd/tps80031.c +++ b/drivers/mfd/tps80031.c @@ -305,6 +305,9 @@ static struct mfd_cell tps80031_cell[] = { { .name = "tps80031-rtc", }, + { + .name = "tps80031-battery-gauge", + }, }; |