commit | 13b3fde808ed287ad23c4549733fb3e3be785114 | [log] [tgz] |
---|---|---|
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | Tue Apr 15 13:34:36 2014 +0100 |
committer | Mark Brown <broonie@linaro.org> | Fri Apr 18 18:12:09 2014 +0100 |
tree | fce1d427a3085afb892258205a3df83a5dfef70a | |
parent | 5efe144681c183e1ca7b0053ad1113667aa7fde2 [diff] |
regulator: core: Use devres for releasing of_regulator_match of_nodes Rather than requiring individual drivers to put the of_nodes returned from of_regulator_match use devres to put them. This also has the benefit it makes the life-time of the of_nodes match the lifetime of the init data also contained in the of_regulator_match structure, which seems more consistent. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@linaro.org>