]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board_f: Cosmetic style fix
authorBin Meng <bmeng.cn@gmail.com>
Fri, 21 Jul 2023 16:15:21 +0000 (00:15 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 8 Aug 2023 21:41:52 +0000 (17:41 -0400)
Some coding convention fixes for print_resetinfo().

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/board_f.c

index 7d2c380e91e29f817fdc3dc576e1fa1f26da6b17..50edac5b7a8bac7b609840567ded26bc8228bd69 100644 (file)
@@ -148,11 +148,12 @@ static int print_resetinfo(void)
        bool status_printed = false;
        int ret;
 
-       /* Not all boards have sysreset drivers available during early
+       /*
+        * Not all boards have sysreset drivers available during early
         * boot, so don't fail if one can't be found.
         */
        for (ret = uclass_first_device_check(UCLASS_SYSRESET, &dev); dev;
-                       ret = uclass_next_device_check(&dev)) {
+            ret = uclass_next_device_check(&dev)) {
                if (ret) {
                        debug("%s: %s sysreset device (error: %d)\n",
                              __func__, dev->name, ret);