]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: tps65086: Fix DT node referencing in of_parse_cb
authorAndrew F. Davis <afd@ti.com>
Fri, 10 Feb 2017 17:55:47 +0000 (11:55 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 13 Feb 2017 18:04:28 +0000 (18:04 +0000)
commitbe41c68f1fec6198d08754e1e35aa5fa92abc213
tree134f79980969a53fa0b89b67d13e08cb68760de5
parenta3628a7904f1675e705804d4cdceec466923f0d4
regulator: tps65086: Fix DT node referencing in of_parse_cb

When we check for additional DT properties in the current node we
use the device_node passed in with the configuration data, this
will not point to the correct DT node, use the one passed in
for this purpose.

Fixes: b4f4caa55de6 ("regulator: tps65086: Add regulator driver for the TPS65086 PMIC")
Reported-by: Steven Kipisz <s-kipisz2@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Tested-by: Steven Kipisz <s-kipisz2@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/tps65086-regulator.c