diff mbox series

board_f: Cosmetic style fix

Message ID 20230721161521.904142-1-bmeng.cn@gmail.com
State Accepted
Commit d8cb1dc91413baf8ac3388aab2070a8f35b13c0b
Delegated to: Tom Rini
Headers show
Series board_f: Cosmetic style fix | expand

Commit Message

Bin Meng July 21, 2023, 4:15 p.m. UTC
Some coding convention fixes for print_resetinfo().

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

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

Comments

Simon Glass July 23, 2023, 3:48 a.m. UTC | #1
On Fri, 21 Jul 2023 at 10:15, Bin Meng <bmeng.cn@gmail.com> wrote:
>
> Some coding convention fixes for print_resetinfo().
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
>  common/board_f.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>

Reviewed-by: Simon Glass <sjg@chromium.org>
Tom Rini Aug. 9, 2023, 1:39 a.m. UTC | #2
On Sat, Jul 22, 2023 at 12:15:21AM +0800, Bin Meng wrote:

> Some coding convention fixes for print_resetinfo().
> 
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/next, thanks!
diff mbox series

Patch

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);