regulator: tps65090: fix multiple regulator registration issue
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 2 Aug 2012 14:16:17 +0000 (19:16 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 6 Aug 2012 10:45:17 +0000 (15:45 +0530)
commit7621ccccf81cc63d74aaec9705e8a0976d76619d
tree744e0013485cebc20cf81fadb5a3b002a3d2e2d5
parentbc23da7b035d085094f665dbb42883d79703d868
regulator: tps65090: fix multiple regulator registration issue

The regulator of tps65090 is registered as mfd sub device
and hence all regulator should be register in one call
of tps65090 regulator probe.
Fixing this by providing the list of regulator platform data
and registering the regulators in single probe call.

Change-Id: I06600d0bf4dfd62238bed77713ee8abf2afe2371
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/120838
drivers/regulator/tps65090-regulator.c
include/linux/mfd/tps65090.h
include/linux/regulator/tps65090-regulator.h