]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb6996fcbd44af887bf9da6d1f17330be77f53d6
treed89c702ecd99fc606c9d5265278cabb6d3744607
parent1bd751c8e79f492f62796fd89035cc1cccc65006
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