regulator: tps80031: register regulators as mfd sub device
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 2 Aug 2012 08:04:01 +0000 (13:04 +0530)
committerSimone Willett <swillett@nvidia.com>
Fri, 3 Aug 2012 01:03:10 +0000 (18:03 -0700)
commitd88c5cce18adf50d472508e38fced959b845e7d8
treebf34a12f2731e1b861cb20e9fade09cbd8296cf6
parent5f436b65eb7d71b85e1dd1ffd58410ebbda01a74
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