power: tps80031: battery-gauge: register as mfd sub device
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 1 Aug 2012 11:04:12 +0000 (16:04 +0530)
committerLokesh Pathak <lpathak@nvidia.com>
Tue, 7 Aug 2012 15:45:08 +0000 (08:45 -0700)
commit65f9c0c5286dcccd3ed38d479215414c9cf00f1f
treedba2b4dd3144bf63b374924a24ff070c37ae23ff
parent0bf836b37cef4345629ecd8efb1a3e7f30628525
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>
arch/arm/mach-tegra/board-enterprise-power.c
drivers/mfd/tps80031.c
drivers/power/tps80031_battery_gauge.c
include/linux/mfd/tps80031.h