regulator: tps65090: fix multiple regulator registration issue
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 2 Aug 2012 14:16:17 +0000 (19:16 +0530)
committerSimone Willett <swillett@nvidia.com>
Fri, 3 Aug 2012 21:02:06 +0000 (14:02 -0700)
commitc29f0ba149c9ca26e541df2cce9ef08a3ab18630
treeb82fb119f46e51ea1f8eac1dd57a93f0325fb9ff
parent5e7698f9b861a2e24f579eb2b5ab264badd22ad0
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