clk: qcom: clk-alpha-pll: Refactor trion PLL
authorTaniya Das <tdas@codeaurora.org>
Mon, 24 Feb 2020 04:50:00 +0000 (10:20 +0530)
committerStephen Boyd <sboyd@kernel.org>
Mon, 9 Mar 2020 22:14:56 +0000 (15:14 -0700)
commitee4adbbc9087eb22bca631fb6efb93c62f1761b1
treea98b24a2266ce82df9b8f98b75f9bfac2a1c47f7
parent57d98e8e75bd6137a4e993913464c07802593d03
clk: qcom: clk-alpha-pll: Refactor trion PLL

Remove duplicate function for calculating the round rate of PLL and also
update the trion pll ops to use the common function.

Signed-off-by: Taniya Das <tdas@codeaurora.org>
Signed-off-by: Venkata Narendra Kumar Gutta <vnkgutta@codeaurora.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lkml.kernel.org/r/20200224045003.3783838-3-vkoul@kernel.org
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/clk-alpha-pll.c