usb: dwc3-generic: remove dm_scan_fdt_dev() from the remove() callback
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 5 Jul 2019 07:33:56 +0000 (09:33 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 5 Jul 2019 12:19:40 +0000 (14:19 +0200)
There is simply no reason to do that here.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/usb/dwc3/dwc3-generic.c

index 3e6c494dc62a0684755f1cad90805f43faa86f22..70431facb362472e8993956b9f1bd44bd354a09b 100644 (file)
@@ -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[] = {