From e445d46651de61fdfecf34cc2cd97d58ca6c5cf3 Mon Sep 17 00:00:00 2001 From: Jean-Jacques Hiblot Date: Fri, 5 Jul 2019 09:33:56 +0200 Subject: [PATCH] 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 --- 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.39.5