clk: qcom: clk-smd-rpm: Fix clk_hw references
authorGeorgi Djakov <georgi.djakov@linaro.org>
Wed, 23 Nov 2016 14:52:48 +0000 (16:52 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 23 Nov 2016 19:12:47 +0000 (11:12 -0800)
commit81b7667aace061c6edd57d2fadd70374ceda2c81
tree1f3febd10a2fd1585beaf26b7a7888b139b3c3c8
parent5f5001a978fc966974b136c00cfb2134edd3f2bd
clk: qcom: clk-smd-rpm: Fix clk_hw references

Fix the clk_hw references to the actual clocks and add a xlate function
to return the hw pointers from the already existing static array.

Reported-by: Michael Scott <michael.scott@linaro.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/clk-smd-rpm.c