Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7b6d681 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: dwc3-msm: Delete sysfs files on driver remove"

parents 1f1c1c00 9e6f5180
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4100,6 +4100,8 @@ static int dwc3_msm_remove(struct platform_device *pdev)
	int i, ret_pm;

	device_remove_file(&pdev->dev, &dev_attr_mode);
	device_remove_file(&pdev->dev, &dev_attr_speed);
	device_remove_file(&pdev->dev, &dev_attr_bus_vote);

	if (mdwc->dpdm_nb.notifier_call) {
		regulator_unregister_notifier(mdwc->dpdm_reg, &mdwc->dpdm_nb);