diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-20 20:10:08 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-22 16:15:39 (GMT) |
commit | e6e740304aa2a49ef09497e6c0bb906ed7987f6b (patch) | |
tree | 1f42de6c608ef6f83f34d7df850536068cfa4de0 /include/linux/regulator | |
parent | d5ad34f7cb8b23ab165cabef69577a2a20d53195 (diff) | |
download | linux-fsl-qoriq-e6e740304aa2a49ef09497e6c0bb906ed7987f6b.tar.xz |
regulator: Provide devm_regulator_bulk_get()
Allow drivers to benefit from both the bulk APIs and managed resources
simultaneously.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator')
-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 60c2f99..35c4283 100644 --- a/include/linux/regulator/consumer.h +++ b/include/linux/regulator/consumer.h @@ -148,6 +148,8 @@ int regulator_disable_deferred(struct regulator *regulator, int ms); int regulator_bulk_get(struct device *dev, int num_consumers, struct regulator_bulk_data *consumers); +int devm_regulator_bulk_get(struct device *dev, int num_consumers, + struct regulator_bulk_data *consumers); int regulator_bulk_enable(int num_consumers, struct regulator_bulk_data *consumers); int regulator_bulk_disable(int num_consumers, |