]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit11ebe9ad31cc9b4e53c9d364356c43924f264029
tree485e88784a60fef84ff4a482b3ee619cb5be6a43
parent7bbc10525d610144b7fe61a7b521e5f6e553304e
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