regulator: Factor out location of init data OF node
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 29 Nov 2018 10:28:20 +0000 (10:28 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 4 Dec 2018 16:40:41 +0000 (16:40 +0000)
commit925c85e21ed8773c8b0ab01d60618b862847a10f
tree3198b74569dd6828b007c3984f15f6b5e56749a8
parentdb6e6244cb714029959f26caa58522e3c20d4c61
regulator: Factor out location of init data OF node

To support future additions factor out the location of the OF node
containing the init data for the regulator from the code that parses the
init data.

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