aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2015-10-17 22:30:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-24 19:53:53 -0700
commit164f0aa87232b85c17181922a28c3f410ea9a32b (patch)
treebe0c990d123f73e29c595bde6c897ccb0edf0375 /drivers/usb
parentb1a0c4239653a9a4fba90e9f3e407c7cb6140f61 (diff)
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 <vz@mleia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ohci-nxp.c1
1 files changed, 0 insertions, 1 deletions
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;