summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMark Brown <broonie@sirena.org.uk>2012-04-05 11:42:09 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-04-19 19:34:18 +0100
commita8a97db984bdc5e89d42e41891543d2daaf314cb (patch)
treef265e535723e3e2b7011f7e16d782d24e3589e02 /Documentation
parente816b57a337ea3b755de72bec38c10c864f23015 (diff)
downloadlinux-a8a97db984bdc5e89d42e41891543d2daaf314cb.tar.gz
linux-a8a97db984bdc5e89d42e41891543d2daaf314cb.tar.bz2
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')
-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()