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

fbdev: Remove trailing whitespace

Removes trailing whitespaces in several places.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200729134148.6855-2-tzimmermann@suse.de

+14 -14
+5 -5
drivers/video/fbdev/core/fbmem.c
··· 777 777 778 778 if (info->fbops->fb_read) 779 779 return info->fbops->fb_read(info, buf, count, ppos); 780 - 780 + 781 781 total_size = info->screen_size; 782 782 783 783 if (total_size == 0) ··· 842 842 843 843 if (info->fbops->fb_write) 844 844 return info->fbops->fb_write(info, buf, count, ppos); 845 - 845 + 846 846 total_size = info->screen_size; 847 847 848 848 if (total_size == 0) ··· 1061 1061 1062 1062 int 1063 1063 fb_blank(struct fb_info *info, int blank) 1064 - { 1064 + { 1065 1065 struct fb_event event; 1066 1066 int ret = -EINVAL; 1067 1067 ··· 1437 1437 return res; 1438 1438 } 1439 1439 1440 - static int 1440 + static int 1441 1441 fb_release(struct inode *inode, struct file *file) 1442 1442 __acquires(&info->lock) 1443 1443 __releases(&info->lock) ··· 1627 1627 fb_info->pixmap.access_align = 32; 1628 1628 fb_info->pixmap.flags = FB_PIXMAP_DEFAULT; 1629 1629 } 1630 - } 1630 + } 1631 1631 fb_info->pixmap.offset = 0; 1632 1632 1633 1633 if (!fb_info->pixmap.blit_x)
+9 -9
include/linux/fb.h
··· 124 124 * Register/unregister for framebuffer events 125 125 */ 126 126 127 - /* The resolution of the passed in fb_info about to change */ 127 + /* The resolution of the passed in fb_info about to change */ 128 128 #define FB_EVENT_MODE_CHANGE 0x01 129 129 130 130 #ifdef CONFIG_GUMSTIX_AM200EPD ··· 459 459 460 460 #if IS_ENABLED(CONFIG_FB_BACKLIGHT) 461 461 /* assigned backlight device */ 462 - /* set before framebuffer registration, 462 + /* set before framebuffer registration, 463 463 remove after unregister */ 464 464 struct backlight_device *bl_dev; 465 465 466 466 /* Backlight level curve */ 467 - struct mutex bl_curve_mutex; 467 + struct mutex bl_curve_mutex; 468 468 u8 bl_curve[FB_BACKLIGHT_LEVELS]; 469 469 #endif 470 470 #ifdef CONFIG_FB_DEFERRED_IO ··· 483 483 char __iomem *screen_base; /* Virtual address */ 484 484 char *screen_buffer; 485 485 }; 486 - unsigned long screen_size; /* Amount of ioremapped VRAM or 0 */ 487 - void *pseudo_palette; /* Fake palette of 16 colors */ 486 + unsigned long screen_size; /* Amount of ioremapped VRAM or 0 */ 487 + void *pseudo_palette; /* Fake palette of 16 colors */ 488 488 #define FBINFO_STATE_RUNNING 0 489 489 #define FBINFO_STATE_SUSPENDED 1 490 490 u32 state; /* Hardware state i.e suspend */ ··· 587 587 * `Generic' versions of the frame buffer device operations 588 588 */ 589 589 590 - extern int fb_set_var(struct fb_info *info, struct fb_var_screeninfo *var); 591 - extern int fb_pan_display(struct fb_info *info, struct fb_var_screeninfo *var); 590 + extern int fb_set_var(struct fb_info *info, struct fb_var_screeninfo *var); 591 + extern int fb_pan_display(struct fb_info *info, struct fb_var_screeninfo *var); 592 592 extern int fb_blank(struct fb_info *info, int blank); 593 - extern void cfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect); 594 - extern void cfb_copyarea(struct fb_info *info, const struct fb_copyarea *area); 593 + extern void cfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect); 594 + extern void cfb_copyarea(struct fb_info *info, const struct fb_copyarea *area); 595 595 extern void cfb_imageblit(struct fb_info *info, const struct fb_image *image); 596 596 /* 597 597 * Drawing operations where framebuffer is in system RAM