]> git.baikalelectronics.ru Git - kernel.git/commit
clk: axm5516: Migrate to clk_hw based OF and registration APIs
authorStephen Boyd <stephen.boyd@linaro.org>
Wed, 1 Jun 2016 23:15:09 +0000 (16:15 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 24 Aug 2016 23:11:07 +0000 (16:11 -0700)
commite057eb806ab589e093c70d73aa4b64c48fcb2452
tree8f758425661581d37ffd598925544aa2edd46a7f
parenta7154b9e09557b08fcfdc99abf6f8a389c62c4ea
clk: axm5516: Migrate to clk_hw based OF and registration APIs

Now that we have clk_hw based provider APIs to register clks, we
can get rid of struct clk pointers while registering clks in
these drivers, allowing us to move closer to a clear split of
consumer and provider clk APIs. Make thing simple by using the
existing clk_hw array and implementing a custom DT clk provider
get function to map the clk spec id to a clk_hw pointer.

Cc: Anders Berg <anders.berg@lsi.com>
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-axm5516.c