staging/fbtft: Fix braces coding style
Add braces to the "for" loop. This way, the kernel coding style is followed. Signed-off-by: Len Baker <len.baker@gmx.com> Link: https://lore.kernel.org/r/20210801085155.3170-4-len.baker@gmx.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
31f0c349dd
commit
f9d39971c0
|
@ -1003,9 +1003,11 @@ int fbtft_init_display(struct fbtft_par *par)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* make sure stop marker exists */
|
/* 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)
|
if (par->init_sequence[i] == -3)
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (i == FBTFT_MAX_INIT_SEQUENCE) {
|
if (i == FBTFT_MAX_INIT_SEQUENCE) {
|
||||||
dev_err(par->info->device,
|
dev_err(par->info->device,
|
||||||
"missing stop marker at end of init sequence\n");
|
"missing stop marker at end of init sequence\n");
|
||||||
|
|
Loading…
Reference in New Issue