summaryrefslogtreecommitdiff
path: root/drivers/clk/qcom/mmcc-msm8974.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-10-08 10:11:49 +0300
committerStephen Boyd <sboyd@codeaurora.org>2015-10-09 09:53:01 +0300
commit9bc432cb242b0edff81e3ab83ba11c327cd4dd93 (patch)
treea22730cac76e6420fac1007fd6101e0556ba1f31 /drivers/clk/qcom/mmcc-msm8974.c
parent94c51f4073260e775fa404a45ac7f7adea590d0a (diff)
downloadlinux-9bc432cb242b0edff81e3ab83ba11c327cd4dd93.tar.xz
clk: qcom: Drop calls to qcom_cc_remove()
Now that qcom_cc_remove() is a nop, drop calls to qcom_cc_remove() and any empty driver remove functions. Cc: Rajendra Nayak <rnayak@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom/mmcc-msm8974.c')
-rw-r--r--drivers/clk/qcom/mmcc-msm8974.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/clk/qcom/mmcc-msm8974.c b/drivers/clk/qcom/mmcc-msm8974.c
index cf2a7c9c95e6..9d790bcadf25 100644
--- a/drivers/clk/qcom/mmcc-msm8974.c
+++ b/drivers/clk/qcom/mmcc-msm8974.c
@@ -2628,16 +2628,12 @@ static int mmcc_msm8974_probe(struct platform_device *pdev)
if (ret)
return ret;
- ret = pm_genpd_add_subdomain(&oxili_gdsc.pd, &oxilicx_gdsc.pd);
- if (ret)
- qcom_cc_remove(pdev);
- return ret;
+ return pm_genpd_add_subdomain(&oxili_gdsc.pd, &oxilicx_gdsc.pd);
}
static int mmcc_msm8974_remove(struct platform_device *pdev)
{
pm_genpd_remove_subdomain(&oxili_gdsc.pd, &oxilicx_gdsc.pd);
- qcom_cc_remove(pdev);
return 0;
}