regulator: Allow regulators to register with no init_data
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 29 Nov 2011 18:11:19 +0000 (18:11 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 30 Nov 2011 09:38:28 +0000 (09:38 +0000)
commit9a8f5e07200dd80fe5979490c36b62f64f70825b
tree23f217da7cca9642ba77051f4db2eb9bf1d89676
parent979268cd32ddb577fe5bfd90331a1a8b3024de0d
regulator: Allow regulators to register with no init_data

This allows read-only access to the device configuration which may be
useful for diagnostics.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
drivers/regulator/core.c