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

Commit 164f0aa8 authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Greg Kroah-Hartman
Browse files

usb: host: lpc32xx: don't unregister phy device



There is no need to unregister the I2C device, which serves as a phy
from host code, this should be done in the correspondent phy driver.

Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b1a0c423
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -303,7 +303,6 @@ static int ohci_hcd_nxp_remove(struct platform_device *pdev)
	clk_disable_unprepare(usb_otg_clk);
	clk_disable_unprepare(usb_otg_clk);
	clk_disable_unprepare(usb_dev_clk);
	clk_disable_unprepare(usb_dev_clk);
	clk_disable_unprepare(usb_pll_clk);
	clk_disable_unprepare(usb_pll_clk);
	i2c_unregister_device(isp1301_i2c_client);
	isp1301_i2c_client = NULL;
	isp1301_i2c_client = NULL;


	return 0;
	return 0;