regulator: tps65090: separate regulator info with device info
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 2 Aug 2012 13:30:59 +0000 (18:30 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 6 Aug 2012 10:45:12 +0000 (15:45 +0530)
commit59d62e50934d791db784312306fc988e8d0159dc
tree4078c7aa7f019f18073424567d05098df7a1c5a4
parenta71d0d7ea392371d7403f1e3aa7ae50e6534ae72
regulator: tps65090: separate regulator info with device info

Currently the regulator info is stored in the data structure of
device. This avoid to have multiple instance of this driver
as it can corrupt the other instance driver.
Separating driver specific data with device information.

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