|
@@ -750,6 +750,7 @@ static int twl4030_usb_remove(struct platform_device *pdev)
|
|
|
struct twl4030_usb *twl = platform_get_drvdata(pdev);
|
|
struct twl4030_usb *twl = platform_get_drvdata(pdev);
|
|
|
int val;
|
|
int val;
|
|
|
|
|
|
|
|
|
|
+ usb_remove_phy(&twl->phy);
|
|
|
pm_runtime_get_sync(twl->dev);
|
|
pm_runtime_get_sync(twl->dev);
|
|
|
cancel_delayed_work(&twl->id_workaround_work);
|
|
cancel_delayed_work(&twl->id_workaround_work);
|
|
|
device_remove_file(twl->dev, &dev_attr_vbus);
|
|
device_remove_file(twl->dev, &dev_attr_vbus);
|