summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-model
diff options
context:
space:
mode:
authorMark Brown <broonie@sirena.org.uk>2012-04-05 12:42:09 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-04-19 20:34:18 +0200
commita8a97db984bdc5e89d42e41891543d2daaf314cb (patch)
treef265e535723e3e2b7011f7e16d782d24e3589e02 /Documentation/driver-model
parentLinux 3.4-rc3 (diff)
downloadlinux-a8a97db984bdc5e89d42e41891543d2daaf314cb.tar.xz
linux-a8a97db984bdc5e89d42e41891543d2daaf314cb.zip
ARM: 7376/1: clkdev: Implement managed clk_get()
Allow clk API users to simplify their cleanup paths by providing a managed version of clk_get() and clk_put(). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'Documentation/driver-model')
-rw-r--r--Documentation/driver-model/devres.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
index 2a596a4fc23e..9faac6ae3525 100644
--- a/Documentation/driver-model/devres.txt
+++ b/Documentation/driver-model/devres.txt
@@ -276,3 +276,7 @@ REGULATOR
devm_regulator_get()
devm_regulator_put()
devm_regulator_bulk_get()
+
+CLOCK
+ devm_clk_get()
+ devm_clk_put()