Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fbdev/matrox: Remove trailing whitespaces

Fix coding style. No functional changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn>
Tested-by: Sui Jingfeng <suijingfeng@loongson.cn>
Link: https://patchwork.freedesktop.org/patch/msgid/20230512102444.5438-3-tzimmermann@suse.de

+5 -5
+3 -3
drivers/video/fbdev/matrox/matroxfb_accel.c
··· 88 88 89 89 static inline void matrox_cfb4_pal(u_int32_t* pal) { 90 90 unsigned int i; 91 - 91 + 92 92 for (i = 0; i < 16; i++) { 93 93 pal[i] = i * 0x11111111U; 94 94 } ··· 96 96 97 97 static inline void matrox_cfb8_pal(u_int32_t* pal) { 98 98 unsigned int i; 99 - 99 + 100 100 for (i = 0; i < 16; i++) { 101 101 pal[i] = i * 0x01010101U; 102 102 } ··· 482 482 /* Tell... well, why bother... */ 483 483 while (height--) { 484 484 size_t i; 485 - 485 + 486 486 for (i = 0; i < step; i += 4) { 487 487 /* Hope that there are at least three readable bytes beyond the end of bitmap */ 488 488 fb_writel(get_unaligned((u_int32_t*)(chardata + i)),mmio.vaddr);
+2 -2
drivers/video/fbdev/matrox/matroxfb_base.h
··· 301 301 int (*verifymode)(void* altout_dev, u_int32_t mode); 302 302 int (*getqueryctrl)(void* altout_dev, 303 303 struct v4l2_queryctrl* ctrl); 304 - int (*getctrl)(void* altout_dev, 304 + int (*getctrl)(void *altout_dev, 305 305 struct v4l2_control* ctrl); 306 - int (*setctrl)(void* altout_dev, 306 + int (*setctrl)(void *altout_dev, 307 307 struct v4l2_control* ctrl); 308 308 }; 309 309