diff options
author | Matthias Kaehlcke <matthias.list@kaehlcke.net> | 2013-08-25 11:54:13 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-29 14:38:33 -0400 |
commit | 9efdd27678ef5e22c27c230a08a211b702768f3a (patch) | |
tree | c2a7d91b8786bdf1ac16635f02107fe99a6c4d7d /include/linux/regulator/consumer.h | |
parent | 9e059bacecf1c46c1784cb6f6826f85629b4a1be (diff) |
regulator: Add devm_regulator_get_exclusive()
Add a resource managed regulator_get_exclusive()
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/regulator/consumer.h')
-rw-r--r-- | include/linux/regulator/consumer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h index e2bac6db4abc..91aca11198d8 100644 --- a/include/linux/regulator/consumer.h +++ b/include/linux/regulator/consumer.h | |||
@@ -137,6 +137,8 @@ struct regulator *__must_check devm_regulator_get(struct device *dev, | |||
137 | const char *id); | 137 | const char *id); |
138 | struct regulator *__must_check regulator_get_exclusive(struct device *dev, | 138 | struct regulator *__must_check regulator_get_exclusive(struct device *dev, |
139 | const char *id); | 139 | const char *id); |
140 | struct regulator *__must_check devm_regulator_get_exclusive(struct device *dev, | ||
141 | const char *id); | ||
140 | struct regulator *__must_check regulator_get_optional(struct device *dev, | 142 | struct regulator *__must_check regulator_get_optional(struct device *dev, |
141 | const char *id); | 143 | const char *id); |
142 | struct regulator *__must_check devm_regulator_get_optional(struct device *dev, | 144 | struct regulator *__must_check devm_regulator_get_optional(struct device *dev, |