summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/mmcc-msm8974.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-10-08 09:11:49 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-10-09 08:53:01 +0200
commit9bc432cb242b0edff81e3ab83ba11c327cd4dd93 (patch)
treea22730cac76e6420fac1007fd6101e0556ba1f31 /drivers/clk/qcom/mmcc-msm8974.c
parentqcom: clk: Make qcom_cc_probe() fully devm safe (diff)
downloadlinux-9bc432cb242b0edff81e3ab83ba11c327cd4dd93.tar.xz
linux-9bc432cb242b0edff81e3ab83ba11c327cd4dd93.zip
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;
}