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

Commit 8cdf5b7f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: phy: Don't free phy memory from remove() API"

parents 519c7190 e5da3147
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -682,9 +682,6 @@ static int msm_hsphy_remove(struct platform_device *pdev)


	msm_hsphy_enable_clocks(phy, false);
	msm_hsphy_enable_clocks(phy, false);
	msm_hsphy_enable_power(phy, false);
	msm_hsphy_enable_power(phy, false);

	kfree(phy);

	return 0;
	return 0;
}
}


+0 −1
Original line number Original line Diff line number Diff line
@@ -1081,7 +1081,6 @@ static int msm_ssphy_qmp_remove(struct platform_device *pdev)
	usb_remove_phy(&phy->phy);
	usb_remove_phy(&phy->phy);
	msm_ssphy_qmp_enable_clks(phy, false);
	msm_ssphy_qmp_enable_clks(phy, false);
	msm_ssusb_qmp_ldo_enable(phy, 0);
	msm_ssusb_qmp_ldo_enable(phy, 0);
	kfree(phy);
	return 0;
	return 0;
}
}