Commit d6dfcdaa authored by Dario Binacchi's avatar Dario Binacchi Committed by Helge Deller

fbdev: imxfb: add '*/' on a separate line in block comment

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: default avatarDario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent cb892e5d
...@@ -946,8 +946,10 @@ static int imxfb_probe(struct platform_device *pdev) ...@@ -946,8 +946,10 @@ static int imxfb_probe(struct platform_device *pdev)
if (ret) if (ret)
goto failed_init; 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]; m = &fbi->mode[0];
bytes_per_pixel = (m->bpp + 7) / 8; bytes_per_pixel = (m->bpp + 7) / 8;
for (i = 0; i < fbi->num_modes; i++, m++) for (i = 0; i < fbi->num_modes; i++, m++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment