ARM: 7376/1: clkdev: Implement managed clk_get()
authorMark Brown <broonie@sirena.org.uk>
Mon, 21 May 2012 07:20:39 +0000 (12:20 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 21 May 2012 09:40:45 +0000 (14:40 +0530)
commitb2351a6243afe31df209480a291ac4c999256080
treeb86b7ee1678fa367ecb06e63acbe1bbfbd3a9aed
parent6101bf58e0c27b134e162b2db01d12cfcf221ee1
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>

Conflicts:

Documentation/driver-model/devres.txt
include/linux/clk.h
Documentation/driver-model/devres.txt
drivers/clk/clkdev.c
include/linux/clk.h