diff options
author | Mark Brown <broonie@sirena.org.uk> | 2012-04-05 11:42:09 +0100 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-05-17 13:45:55 -0700 |
commit | b4cfaf3f20854447427bd20086726c8d3d4f58ad (patch) | |
tree | 510c57bf0e4e78162289943c256fa0328bfbe322 /Documentation | |
parent | 9ff7c60450e8e0196097f0e259b6c45357502934 (diff) |
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>
Cherry-picked from mainline
a8a97db984bdc5e89d42e41891543d2daaf314cb
Change-Id: Ib36c0c82063928937166b6014fca92025bc83878
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/102860
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/driver-model/devres.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index 10c64c8a13d4..6346042c3b54 100644 --- a/Documentation/driver-model/devres.txt +++ b/Documentation/driver-model/devres.txt @@ -267,3 +267,7 @@ IOMAP pcim_iounmap() pcim_iomap_table() : array of mapped addresses indexed by BAR pcim_iomap_regions() : do request_region() and iomap() on multiple BARs + +CLOCK + devm_clk_get() + devm_clk_put() |