]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
fbdev/matrox: Remove trailing whitespaces
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 12 May 2023 10:24:39 +0000 (12:24 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 18 May 2023 09:06:17 +0000 (11:06 +0200)
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
drivers/video/fbdev/matrox/matroxfb_accel.c
drivers/video/fbdev/matrox/matroxfb_base.h

index 9cb0685feddd73a2c4b11229ecec9c15338a2075..ce51227798a10f43b4092e13d38b2d322f7a4d22 100644 (file)
@@ -88,7 +88,7 @@
 
 static inline void matrox_cfb4_pal(u_int32_t* pal) {
        unsigned int i;
-       
+
        for (i = 0; i < 16; i++) {
                pal[i] = i * 0x11111111U;
        }
@@ -96,7 +96,7 @@ static inline void matrox_cfb4_pal(u_int32_t* pal) {
 
 static inline void matrox_cfb8_pal(u_int32_t* pal) {
        unsigned int i;
-       
+
        for (i = 0; i < 16; i++) {
                pal[i] = i * 0x01010101U;
        }
@@ -482,7 +482,7 @@ static void matroxfb_1bpp_imageblit(struct matrox_fb_info *minfo, u_int32_t fgx,
                        /* Tell... well, why bother... */
                        while (height--) {
                                size_t i;
-                               
+
                                for (i = 0; i < step; i += 4) {
                                        /* Hope that there are at least three readable bytes beyond the end of bitmap */
                                        fb_writel(get_unaligned((u_int32_t*)(chardata + i)),mmio.vaddr);
index 958be6805f876deecd461a42b0d86982f151054f..c93c69bbcd579b807049ed5455be57699d43619a 100644 (file)
@@ -301,9 +301,9 @@ struct matrox_altout {
        int             (*verifymode)(void* altout_dev, u_int32_t mode);
        int             (*getqueryctrl)(void* altout_dev,
                                        struct v4l2_queryctrl* ctrl);
-       int             (*getctrl)(void* altout_dev, 
+       int             (*getctrl)(void *altout_dev,
                                   struct v4l2_control* ctrl);
-       int             (*setctrl)(void* altout_dev, 
+       int             (*setctrl)(void *altout_dev,
                                   struct v4l2_control* ctrl);
 };