power: tps80031: battery-charger: register as mfd sub device
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 1 Aug 2012 11:14:29 +0000 (16:14 +0530)
committerLokesh Pathak <lpathak@nvidia.com>
Tue, 7 Aug 2012 15:45:26 +0000 (08:45 -0700)
commit0a93f5c4bb384c3a0fd71b5bc3d231f834554dfd
treedd6ffec138467c613c441a279f6672b4df017ae3
parent65f9c0c5286dcccd3ed38d479215414c9cf00f1f
power: tps80031: battery-charger: register as mfd sub device

Register battery charger 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: I8cff39f5c9b22434f7c5b9d4ed9f3865ff4c0001
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/121135
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
arch/arm/mach-tegra/board-enterprise-power.c
drivers/mfd/tps80031.c
drivers/power/tps80031-charger.c
include/linux/mfd/tps80031.h