[PATCH] board_f: Cosmetic style fix

Bin Meng bmeng.cn at gmail.com
Fri Jul 21 18:15:21 CEST 2023


Some coding convention fixes for print_resetinfo().

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 common/board_f.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/common/board_f.c b/common/board_f.c
index e5969ec9a2..db37522f61 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -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);
-- 
2.34.1



More information about the U-Boot mailing list