diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2012-01-17 04:39:58 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-20 13:02:55 +0100 |
commit | 070b9079226d4f3e3e7c9f4eb81f2e02e7d99572 (patch) | |
tree | 312b92136c28a321624bb811b43e8b03a03660ec /Documentation/networking | |
parent | Linux 3.3-rc1 (diff) | |
download | linux-070b9079226d4f3e3e7c9f4eb81f2e02e7d99572.tar.xz linux-070b9079226d4f3e3e7c9f4eb81f2e02e7d99572.zip |
regulator: Add devm_regulator_get()
Add a resource managed regulator_get() to simplify regulator
usage in drivers. This allows driver authors to "get and forget"
about their regulators by automatically calling regulator_put()
when the driver is detached.
[Fixed up a couple of coding style issues -- broonie]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'Documentation/networking')
0 files changed, 0 insertions, 0 deletions