From 164f0aa87232b85c17181922a28c3f410ea9a32b Mon Sep 17 00:00:00 2001 From: Vladimir Zapolskiy Date: Sat, 17 Oct 2015 22:30:26 +0300 Subject: 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: Vladimir Zapolskiy Signed-off-by: Greg Kroah-Hartman --- drivers/usb/host/ohci-nxp.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/usb') diff --git a/drivers/usb/host/ohci-nxp.c b/drivers/usb/host/ohci-nxp.c index c0d892c81def..cfa94275c52c 100644 --- a/drivers/usb/host/ohci-nxp.c +++ b/drivers/usb/host/ohci-nxp.c @@ -303,7 +303,6 @@ static int ohci_hcd_nxp_remove(struct platform_device *pdev) clk_disable_unprepare(usb_otg_clk); clk_disable_unprepare(usb_dev_clk); clk_disable_unprepare(usb_pll_clk); - i2c_unregister_device(isp1301_i2c_client); isp1301_i2c_client = NULL; return 0; -- cgit v1.2.3