From: Stefan Herbrechtsmeier Date: Tue, 23 May 2023 12:42:11 +0000 (+0200) Subject: firmware: zynqmp: Remove redundant child device bind X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=bc75a3465f7a7ac98cd6115a113e79c952e68000;p=u-boot.git firmware: zynqmp: Remove redundant child device bind 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 Link: https://lore.kernel.org/r/20230523124215.30915-2-stefan.herbrechtsmeier-oss@weidmueller.com Signed-off-by: Michal Simek --- 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) = {