]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
clk: bcm: kona: Migrate to clk_hw based registration and OF APIs
authorStephen Boyd <stephen.boyd@linaro.org>
Wed, 1 Jun 2016 23:15:05 +0000 (16:15 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 24 Aug 2016 23:06:18 +0000 (16:06 -0700)
commitf37fccce4cc19238f0742494a37d3efad346dfe7
tree4f46f2cd3170937886459a0e8b4f1f021173a3d9
parenta38c94106e0dc77490ff820450c0c4af3b57fbc7
clk: bcm: kona: Migrate to clk_hw based registration and OF APIs

Now that we can use clk_hw pointers we don't need to have two
duplicate arrays holding the same mapping of clk index to clk_hw
pointer. Implement a custom clk_hw provider function to map the
OF specifier to the clk_hw instance for it.

Cc: Alex Elder <elder@linaro.org>
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/bcm/clk-kona-setup.c
drivers/clk/bcm/clk-kona.c
drivers/clk/bcm/clk-kona.h