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

Commit a90eb41d authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

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

parents c5b9a9b9 04b8490b
Loading
Loading
Loading
Loading
+0 −3
Original line number 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_power(phy, false);

	kfree(phy);

	return 0;
}

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