regulator: max14577: Add missing of_node_put
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 5 Feb 2014 16:56:27 +0000 (17:56 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 5 Feb 2014 17:06:13 +0000 (17:06 +0000)
commit667a6b7a620ec6e0c1e6689b8c6531c51ce6cdfa
tree8d002b05bcb9559baca0f721913825facae18e72
parent38dbfb59d1175ef458d006556061adeaa8751b72
regulator: max14577: Add missing of_node_put

Decrease the reference count for 'regulators' device_node, obtained by
of_get_child_by_name().

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/max14577.c