clk: Prepare to remove asm-generic/clkdev.h
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 2 Jan 2018 23:47:07 +0000 (15:47 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 3 Jan 2018 00:12:00 +0000 (16:12 -0800)
commit0d4e3d005cb3c7b45463c91b4007d2b9f195879e
treecf9d730214748944d982853575e4e05219363692
parent590f306bc8dbea0b7f86af46aeb512ad2ed6e686
clk: Prepare to remove asm-generic/clkdev.h

Now that all the users of asm/clkdev.h have been replaced with
the generic file we can get rid of the asm-generic file as well
and implement that code directly where it's used.

We only have one caller of __clkdev_alloc(), in clkdev.c so we
can easily remove that and drop the include of asm/clkdev.h in
linux/clkdev.h by putting the __clk_get/__clk_put inlines in
their respective location.

Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clkdev.c
include/linux/clkdev.h