From: Jean-Jacques Hiblot <jjhiblot@ti.com>
Date: Fri, 5 Jul 2019 07:33:56 +0000 (+0200)
Subject: usb: dwc3-generic: remove dm_scan_fdt_dev() from the remove() callback
X-Git-Tag: v2025.01-rc5-pxa1908~2904^2~2
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/gitweb.css?a=commitdiff_plain;h=e445d46651de61fdfecf34cc2cd97d58ca6c5cf3;p=u-boot.git

usb: dwc3-generic: remove dm_scan_fdt_dev() from the remove() callback

There is simply no reason to do that here.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
---

diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c
index 3e6c494dc6..70431facb3 100644
--- a/drivers/usb/dwc3/dwc3-generic.c
+++ b/drivers/usb/dwc3/dwc3-generic.c
@@ -337,7 +337,7 @@ static int dwc3_glue_remove(struct udevice *dev)
 
 	clk_release_bulk(&glue->clks);
 
-	return dm_scan_fdt_dev(dev);
+	return 0;
 }
 
 static const struct udevice_id dwc3_glue_ids[] = {