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

Commit 403ea84c authored by Hamad Kadmany's avatar Hamad Kadmany Committed by Gerrit - the friendly Code Review server
Browse files

msm_11ad: remove clearance of platform data for msm_bus



The platform data is automatically cleared by the kernel
and should not be cleared explicitly.

Change-Id: I7a714ce485fc00b36e1856645f31a3b642c8c45e
Signed-off-by: default avatarHamad Kadmany <hkadmany@codeaurora.org>
parent 3008f900
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1118,7 +1118,7 @@ static int msm_11ad_probe(struct platform_device *pdev)
	rc = msm_11ad_init_vregs(ctx);
	if (rc) {
		dev_err(ctx->dev, "msm_11ad_init_vregs failed: %d\n", rc);
		goto out_bus_scale;
		return rc;
	}
	rc = msm_11ad_enable_vregs(ctx);
	if (rc) {
@@ -1267,8 +1267,6 @@ static int msm_11ad_probe(struct platform_device *pdev)
	msm_11ad_release_clocks(ctx);
	msm_11ad_disable_vregs(ctx);
	msm_11ad_release_vregs(ctx);
out_bus_scale:
	msm_bus_cl_clear_pdata(ctx->bus_scale);

	return rc;
}