]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
firmware: zynqmp: Remove redundant child device bind
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Tue, 23 May 2023 12:42:11 +0000 (14:42 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 12 Jun 2023 11:25:01 +0000 (13:25 +0200)
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>
Link: https://lore.kernel.org/r/20230523124215.30915-2-stefan.herbrechtsmeier-oss@weidmueller.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/firmware/firmware-zynqmp.c

index 2b1ad5d2c35c57922f2ffeaac98b30466af0b58b..ca3a0b55c9f57d857a4f2b93dec70ae44b7bcf25 100644 (file)
@@ -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) = {