OSDN Git Service

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)
commit3764806440149ea9024dff039497d1e45d6ed027
treea78aca50db0ac1495e1257b1489ea94a41460e9d
parentbd0dda744cdfb93a1907091c4540764593a28fa2
regulator: core: Add helper to put of_nodes from matches

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