[U-Boot] [PATCH v1 1/3] usb: dwc3-generic: remove dm_scan_fdt_dev() from the remove() callback

Jean-Jacques Hiblot jjhiblot at ti.com
Fri Jul 5 07:33:56 UTC 2019


There is simply no reason to do that here.

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

 drivers/usb/dwc3/dwc3-generic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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[] = {
-- 
2.17.1



More information about the U-Boot mailing list