regulator: Allow regulator nodes to contain their own init data
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 29 Nov 2018 10:28:21 +0000 (10:28 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 4 Dec 2018 16:41:38 +0000 (16:41 +0000)
commiteba9473f6761d8df6cabf278b272cc5466733737
tree485e88784a60fef84ff4a482b3ee619cb5be6a43
parent925c85e21ed8773c8b0ab01d60618b862847a10f
regulator: Allow regulator nodes to contain their own init data

Currently it is expected that regulator init data will be defined as a
series of sub-nodes from the node that bound in the driver. Add support
for a node to both bind in a driver and contain init data for that
regulator.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/of_regulator.c