regulator: tps80031: register regulators as mfd sub device
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 2 Aug 2012 08:04:01 +0000 (13:04 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 6 Aug 2012 10:38:34 +0000 (15:38 +0530)
commit2713421d9e73b9036f96f8f0bfc42f98be378c95
tree619df45a6a2d691128356a1ca4a4b56d54af3478
parent8ae8dde7b1c4d657e38222ca9c2b5d5c98fc68d9
regulator: tps80031: register regulators as mfd sub device

Converting tps80031 regulator driver to be register as mfd
sub device of the tps65910 and register all its regulators from
single probe calls.
Add separate platform data for the regulator to be supply from
board as part of tps80031 platform data.

Change-Id: Ie65b25f3058202070f7f917e64a4a660dd941210
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/119976
arch/arm/mach-tegra/board-enterprise-power.c
drivers/regulator/tps80031-regulator.c
include/linux/mfd/tps80031.h
include/linux/regulator/tps80031-regulator.h