regulator: tps62360: make init_data of platform data to pointer.
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 11 May 2012 06:38:42 +0000 (12:08 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 13 May 2012 12:47:47 +0000 (13:47 +0100)
commit8bdca009e66bb18a990a4be1830c73acacfce331
tree7806448fc94178b35dc74c8897c4ecc0f6abf841
parent6790178f55d47771fca806f6a4b3d55582065eb1
regulator: tps62360: make init_data of platform data to pointer.

Convert platform data member regulator_init_data to pointer type.
This will avoid the copy of entire regualator init data into
platform data member when adding dt support and it can be achieve
by simple assignment:
pdata->init_data = of_get_regulator_init_data(dev, dev->of_node);

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps62360-regulator.c
include/linux/regulator/tps62360.h