]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7534/1: clk: Make the managed clk functions generically available
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 11 Sep 2012 18:56:23 +0000 (19:56 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 15 Sep 2012 20:55:27 +0000 (21:55 +0100)
commit36a0c49b84e6381f717278fb92cdaaa30a1559eb
treec92fa5117845856ee236c7c51a4f664762c411c6
parentcb89c01c70d5554c40246e32c4bdd6dca794e40a
ARM: 7534/1: clk: Make the managed clk functions generically available

The managed clk functions are currently only available when the generic clk
lookup framework is build. But the managed clk functions are merely wrappers
around clk_get and clk_put and do not depend on any specifics of the generic
lookup functions and there are still quite a few custom implementations of the
clk API. So make the managed functions available whenever the clk API is
implemented.

The patch also removes the custom implementation of devm_clk_get for the
coldfire platform.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/m68k/platform/coldfire/clk.c
drivers/clk/Makefile
drivers/clk/clk-devres.c [new file with mode: 0644]
drivers/clk/clkdev.c