mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
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>
This commit is contained in:
parent
b1a0c42396
commit
164f0aa872
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue