regulator: core: Add helper to put of_nodes from matches
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 3 Apr 2014 14:32:16 +0000 (15:32 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 14 Apr 2014 16:01:24 +0000 (17:01 +0100)
As of_regulator_match will take an of_node reference to each matched
regulator, it makes sense to provide a helper to put all those
references. This patch does that.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/of_regulator.c
include/linux/regulator/of_regulator.h

Simple merge