]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: tps65023: add device tree support
authorThomas Elste <thomas.elste@imms.de>
Mon, 21 Sep 2015 14:30:47 +0000 (16:30 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 21 Sep 2015 17:13:17 +0000 (10:13 -0700)
commite05f3aaafb1cf4af77a0bad6016d6d9e8fb25572
tree062e072913eeed9399b3dfc99469177738988e86
parent935a478e4144e0a4f690471a4a1d8ad5718a721b
regulator: tps65023: add device tree support

Add device tree based initialization support for tps65023 regulators.
Therefore add macros for regulator definition setting of_match and
regulators_node members. Add initialization of regulator_desc data
using these macros. Remove old regulator_desc initialization.

Add device tree binding document for tps65023 regulators.

Signed-off-by: Thomas Elste <thomas.elste@imms.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/tps65023.txt [new file with mode: 0644]
drivers/regulator/tps65023-regulator.c