clk: qcom: Always add factor clock for xo clocks
authorGeorgi Djakov <georgi.djakov@linaro.org>
Wed, 2 Nov 2016 15:56:58 +0000 (17:56 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 11 Nov 2016 00:36:19 +0000 (16:36 -0800)
commit54823af9cd529c00f0e9a9e12ea29159ac401894
treeb5c820c7b52f590bb648afbf198914f16d1ed4ed
parent1001354ca34179f3db924eb66672442a173147dc
clk: qcom: Always add factor clock for xo clocks

Currently the RPM/RPM-SMD clock drivers do not register the xo clocks,
so we should always add factor clock. When we later add xo clocks support
into the drivers, we should update this function to skip registration.
By doing so we avoid any DT dependencies.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/common.c