diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2015-10-17 21:30:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-25 03:53:53 +0100 |
commit | 164f0aa87232b85c17181922a28c3f410ea9a32b (patch) | |
tree | be0c990d123f73e29c595bde6c897ccb0edf0375 | |
parent | usb: host: lpc32xx: balance clk enable/disable on removal (diff) | |
download | linux-164f0aa87232b85c17181922a28c3f410ea9a32b.tar.xz linux-164f0aa87232b85c17181922a28c3f410ea9a32b.zip |
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>
-rw-r--r-- | drivers/usb/host/ohci-nxp.c | 1 |
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; |