]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
fbdev: imxfb: add missing spaces after ','
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Sat, 11 Nov 2023 10:41:56 +0000 (11:41 +0100)
committerHelge Deller <deller@gmx.de>
Thu, 11 Jan 2024 16:09:01 +0000 (17:09 +0100)
Fix the following checkpatch error:

ERROR: space required after that ',' (ctx:VxV)

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/imxfb.c

index 83497f6998f1da919bf54a0dcb685a4a8dd3007a..ad293dc44dbb56cd7b0de520f515520af765e873 100644 (file)
@@ -280,10 +280,10 @@ static int imxfb_setpalettereg(u_int regno, u_int red, u_int green, u_int blue,
        struct imxfb_info *fbi = info->par;
        u_int val, ret = 1;
 
-#define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16)
+#define CNVT_TOHW(val, width) ((((val)<<(width))+0x7FFF-(val))>>16)
        if (regno < fbi->palette_size) {
                val = (CNVT_TOHW(red, 4) << 8) |
-                     (CNVT_TOHW(green,4) << 4) |
+                     (CNVT_TOHW(green, 4) << 4) |
                      CNVT_TOHW(blue,  4);
 
                writel(val, fbi->regs + 0x800 + (regno << 2));