Skip to content

Commit

Permalink
fbdev: imxfb: add '*/' on a separate line in block comment
Browse files Browse the repository at this point in the history
Linux kernel coding style uses '*/' on a separate line at the end of
multi line comments.

Fix block comments by moving '*/' at the end of block comments on a
separate line as reported by checkpatch:

WARNING: Block comments use a trailing */ on a separate line

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
  • Loading branch information
passgat authored and hdeller committed Jan 11, 2024
1 parent cb892e5 commit d6dfcda
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/video/fbdev/imxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -946,8 +946,10 @@ static int imxfb_probe(struct platform_device *pdev)
if (ret)
goto failed_init;

/* Calculate maximum bytes used per pixel. In most cases this should
* be the same as m->bpp/8 */
/*
* Calculate maximum bytes used per pixel. In most cases this should
* be the same as m->bpp/8
*/
m = &fbi->mode[0];
bytes_per_pixel = (m->bpp + 7) / 8;
for (i = 0; i < fbi->num_modes; i++, m++)
Expand Down

0 comments on commit d6dfcda

Please sign in to comment.