Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9bc432cb authored by Stephen Boyd's avatar Stephen Boyd
Browse files

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: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 94c51f40
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -168,9 +168,4 @@ int qcom_cc_probe(struct platform_device *pdev, const struct qcom_cc_desc *desc)
}
EXPORT_SYMBOL_GPL(qcom_cc_probe);

void qcom_cc_remove(struct platform_device *pdev)
{
}
EXPORT_SYMBOL_GPL(qcom_cc_remove);

MODULE_LICENSE("GPL v2");
+0 −2
Original line number Diff line number Diff line
@@ -45,6 +45,4 @@ extern int qcom_cc_really_probe(struct platform_device *pdev,
extern int qcom_cc_probe(struct platform_device *pdev,
			 const struct qcom_cc_desc *desc);

extern void qcom_cc_remove(struct platform_device *pdev);

#endif
+0 −7
Original line number Diff line number Diff line
@@ -3623,15 +3623,8 @@ static int gcc_apq8084_probe(struct platform_device *pdev)
	return qcom_cc_probe(pdev, &gcc_apq8084_desc);
}

static int gcc_apq8084_remove(struct platform_device *pdev)
{
	qcom_cc_remove(pdev);
	return 0;
}

static struct platform_driver gcc_apq8084_driver = {
	.probe		= gcc_apq8084_probe,
	.remove		= gcc_apq8084_remove,
	.driver		= {
		.name	= "gcc-apq8084",
		.of_match_table = gcc_apq8084_match_table,
+0 −7
Original line number Diff line number Diff line
@@ -3058,15 +3058,8 @@ static int gcc_ipq806x_probe(struct platform_device *pdev)
	return 0;
}

static int gcc_ipq806x_remove(struct platform_device *pdev)
{
	qcom_cc_remove(pdev);
	return 0;
}

static struct platform_driver gcc_ipq806x_driver = {
	.probe		= gcc_ipq806x_probe,
	.remove		= gcc_ipq806x_remove,
	.driver		= {
		.name	= "gcc-ipq806x",
		.of_match_table = gcc_ipq806x_match_table,
+0 −7
Original line number Diff line number Diff line
@@ -2735,15 +2735,8 @@ static int gcc_msm8660_probe(struct platform_device *pdev)
	return qcom_cc_probe(pdev, &gcc_msm8660_desc);
}

static int gcc_msm8660_remove(struct platform_device *pdev)
{
	qcom_cc_remove(pdev);
	return 0;
}

static struct platform_driver gcc_msm8660_driver = {
	.probe		= gcc_msm8660_probe,
	.remove		= gcc_msm8660_remove,
	.driver		= {
		.name	= "gcc-msm8660",
		.of_match_table = gcc_msm8660_match_table,
Loading