Skip to content

Commit 3f6cb84

Browse files
Thomas Zimmermannhdeller
authored andcommitted
fbdev: 68328fb: Remove trailing whitespaces
Fix coding style. No functional changes. Signed-off-by: Thomas Zimmermann <[email protected]> Acked-by: Helge Deller <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent 5a6bef7 commit 3f6cb84

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/video/fbdev/68328fb.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ static u_long get_line_length(int xres_virtual, int bpp)
124124
* First part, xxxfb_check_var, must not write anything
125125
* to hardware, it should only verify and adjust var.
126126
* This means it doesn't alter par but it does use hardware
127-
* data from it to check this var.
127+
* data from it to check this var.
128128
*/
129129

130130
static int mc68x328fb_check_var(struct fb_var_screeninfo *var,
@@ -182,7 +182,7 @@ static int mc68x328fb_check_var(struct fb_var_screeninfo *var,
182182

183183
/*
184184
* Now that we checked it we alter var. The reason being is that the video
185-
* mode passed in might not work but slight changes to it might make it
185+
* mode passed in might not work but slight changes to it might make it
186186
* work. This way we let the user know what is acceptable.
187187
*/
188188
switch (var->bits_per_pixel) {
@@ -257,8 +257,8 @@ static int mc68x328fb_check_var(struct fb_var_screeninfo *var,
257257
}
258258

259259
/* This routine actually sets the video mode. It's in here where we
260-
* the hardware state info->par and fix which can be affected by the
261-
* change in par. For this driver it doesn't do much.
260+
* the hardware state info->par and fix which can be affected by the
261+
* change in par. For this driver it doesn't do much.
262262
*/
263263
static int mc68x328fb_set_par(struct fb_info *info)
264264
{
@@ -295,7 +295,7 @@ static int mc68x328fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
295295
* {hardwarespecific} contains width of RAMDAC
296296
* cmap[X] is programmed to (X << red.offset) | (X << green.offset) | (X << blue.offset)
297297
* RAMDAC[X] is programmed to (red, green, blue)
298-
*
298+
*
299299
* Pseudocolor:
300300
* uses offset = 0 && length = RAMDAC register width.
301301
* var->{color}.offset is 0
@@ -384,7 +384,7 @@ static int mc68x328fb_pan_display(struct fb_var_screeninfo *var,
384384
}
385385

386386
/*
387-
* Most drivers don't need their own mmap function
387+
* Most drivers don't need their own mmap function
388388
*/
389389

390390
static int mc68x328fb_mmap(struct fb_info *info, struct vm_area_struct *vma)

0 commit comments

Comments
 (0)