ARM: 7376/1: clkdev: Implement managed clk_get()
authorMark Brown <broonie@sirena.org.uk>
Thu, 5 Apr 2012 10:42:09 +0000 (11:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 19 Apr 2012 18:34:18 +0000 (19:34 +0100)
commita8a97db984bdc5e89d42e41891543d2daaf314cb
treef265e535723e3e2b7011f7e16d782d24e3589e02
parente816b57a337ea3b755de72bec38c10c864f23015
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>
Documentation/driver-model/devres.txt
drivers/clk/clkdev.c
include/linux/clk.h