regulator: tps80031: separate device info with platform info
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 27 Jul 2012 08:22:01 +0000 (13:22 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 6 Aug 2012 10:38:34 +0000 (15:38 +0530)
commit8ae8dde7b1c4d657e38222ca9c2b5d5c98fc68d9
tree2c80f5c0d9ac3665437e843695acb7d270602185
parent58078daae736ed3bec007936e6653140f4f09958
regulator: tps80031: separate device info with platform info

Currently the platform specific data is sharing with
device information structure and hence it restrict to
use the multiple instance of the device.
Separating the device specific information to the platform
specific data and allocating different memory for
storing platform specific data.

Change-Id: I74284514c764f1ceb84f5d9dda215fea7f3cbd13
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/119975
drivers/regulator/tps80031-regulator.c