Commit f9d39971 authored by Len Baker's avatar Len Baker Committed by Greg Kroah-Hartman
Browse files

staging/fbtft: Fix braces coding style



Add braces to the "for" loop. This way, the kernel coding style is
followed.

Signed-off-by: default avatarLen Baker <len.baker@gmx.com>
Link: https://lore.kernel.org/r/20210801085155.3170-4-len.baker@gmx.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 31f0c349
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1003,9 +1003,11 @@ int fbtft_init_display(struct fbtft_par *par)
	}

	/* make sure stop marker exists */
	for (i = 0; i < FBTFT_MAX_INIT_SEQUENCE; i++)
	for (i = 0; i < FBTFT_MAX_INIT_SEQUENCE; i++) {
		if (par->init_sequence[i] == -3)
			break;
	}

	if (i == FBTFT_MAX_INIT_SEQUENCE) {
		dev_err(par->info->device,
			"missing stop marker at end of init sequence\n");