]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
fbdev: imxfb: add '*/' on a separate line in block comment
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Sat, 11 Nov 2023 10:41:59 +0000 (11:41 +0100)
committerHelge Deller <deller@gmx.de>
Thu, 11 Jan 2024 16:09:01 +0000 (17:09 +0100)
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 <dario.binacchi@amarulasolutions.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/imxfb.c

index 8d6943f0bfcaf42292dff5930fe2cee5a8409795..a4dbc72f93c3f830e9a2cc4b24f89a7544ebbe04 100644 (file)
@@ -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++)