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> |
||
|---|---|---|
| .. | ||
| ab8500.h | ||
| consumer.h | ||
| db8500-prcmu.h | ||
| driver.h | ||
| fixed.h | ||
| gpio-regulator.h | ||
| lp3971.h | ||
| lp3972.h | ||
| machine.h | ||
| max1586.h | ||
| max8649.h | ||
| max8660.h | ||
| max8952.h | ||
| of_regulator.h | ||
| tps6507x.h | ||
| tps62360.h | ||
| tps65090-regulator.h | ||
| userspace-consumer.h | ||