diff mbox series

[v5,2/5] firmware: zynqmp: Remove redundant child device bind

Message ID 20230523124215.30915-2-stefan.herbrechtsmeier-oss@weidmueller.com
State Accepted
Commit bc75a3465f7a7ac98cd6115a113e79c952e68000
Delegated to: Michal Simek
Headers show
Series [v5,1/5] firmware: zynqmp: Remove extraordinary return value | expand

Commit Message

Stefan Herbrechtsmeier May 23, 2023, 12:42 p.m. UTC
From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>

Remove the redundant child device bind from the driver bind function and
rely on the post_bind of the class which calls the same function.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>

---

Changes in v5:
- Added

 drivers/firmware/firmware-zynqmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/firmware/firmware-zynqmp.c b/drivers/firmware/firmware-zynqmp.c
index 2b1ad5d2c3..ca3a0b55c9 100644
--- a/drivers/firmware/firmware-zynqmp.c
+++ b/drivers/firmware/firmware-zynqmp.c
@@ -395,7 +395,7 @@  static int zynqmp_firmware_bind(struct udevice *dev)
 		}
 	}
 
-	return dm_scan_fdt_dev(dev);
+	return 0;
 }
 
 U_BOOT_DRIVER(zynqmp_firmware) = {