CLKDEV: provide helpers for common clock framework
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 2 May 2012 08:30:32 +0000 (09:30 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 2 May 2012 08:30:32 +0000 (09:30 +0100)
commite9d7f4065408e92338a41b809e437c6e043da090
treed89c702ecd99fc606c9d5265278cabb6d3744607
parent67b508715a61962f9b5b3ef3432e045a9cba4f1e
CLKDEV: provide helpers for common clock framework

The common clock framework allocates clocks dynamically.  Provide a
set of helpers to streamline the clkdev registration of the clock
lookups to avoid repetitive code sequences.

Reviewed-by: Viresh Kumar <viresh.kumar@st.com>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/clk/clkdev.c
include/linux/clkdev.h