clkdev: add clkdev_create() helper
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 2 Mar 2015 15:40:29 +0000 (15:40 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 6 May 2015 10:58:57 +0000 (11:58 +0100)
Add a helper to allocate and add a clk_lookup structure.  This can not
only be used in several places in clkdev.c to simplify the code, but
more importantly, can be used by callers of the clkdev code to simplify
their clkdev creation and registration.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/clk/clkdev.c
include/linux/clkdev.h

Simple merge
Simple merge