Commit 3f6cb848 authored by Thomas Zimmermann's avatar Thomas Zimmermann Committed by Helge Deller

fbdev: 68328fb: Remove trailing whitespaces

Fix coding style. No functional changes.
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Acked-by: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 5a6bef73
...@@ -124,7 +124,7 @@ static u_long get_line_length(int xres_virtual, int bpp) ...@@ -124,7 +124,7 @@ static u_long get_line_length(int xres_virtual, int bpp)
* First part, xxxfb_check_var, must not write anything * First part, xxxfb_check_var, must not write anything
* to hardware, it should only verify and adjust var. * to hardware, it should only verify and adjust var.
* This means it doesn't alter par but it does use hardware * This means it doesn't alter par but it does use hardware
* data from it to check this var. * data from it to check this var.
*/ */
static int mc68x328fb_check_var(struct fb_var_screeninfo *var, static int mc68x328fb_check_var(struct fb_var_screeninfo *var,
...@@ -182,7 +182,7 @@ static int mc68x328fb_check_var(struct fb_var_screeninfo *var, ...@@ -182,7 +182,7 @@ static int mc68x328fb_check_var(struct fb_var_screeninfo *var,
/* /*
* Now that we checked it we alter var. The reason being is that the video * Now that we checked it we alter var. The reason being is that the video
* mode passed in might not work but slight changes to it might make it * mode passed in might not work but slight changes to it might make it
* work. This way we let the user know what is acceptable. * work. This way we let the user know what is acceptable.
*/ */
switch (var->bits_per_pixel) { switch (var->bits_per_pixel) {
...@@ -257,8 +257,8 @@ static int mc68x328fb_check_var(struct fb_var_screeninfo *var, ...@@ -257,8 +257,8 @@ static int mc68x328fb_check_var(struct fb_var_screeninfo *var,
} }
/* This routine actually sets the video mode. It's in here where we /* This routine actually sets the video mode. It's in here where we
* the hardware state info->par and fix which can be affected by the * the hardware state info->par and fix which can be affected by the
* change in par. For this driver it doesn't do much. * change in par. For this driver it doesn't do much.
*/ */
static int mc68x328fb_set_par(struct fb_info *info) static int mc68x328fb_set_par(struct fb_info *info)
{ {
...@@ -295,7 +295,7 @@ static int mc68x328fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, ...@@ -295,7 +295,7 @@ static int mc68x328fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
* {hardwarespecific} contains width of RAMDAC * {hardwarespecific} contains width of RAMDAC
* cmap[X] is programmed to (X << red.offset) | (X << green.offset) | (X << blue.offset) * cmap[X] is programmed to (X << red.offset) | (X << green.offset) | (X << blue.offset)
* RAMDAC[X] is programmed to (red, green, blue) * RAMDAC[X] is programmed to (red, green, blue)
* *
* Pseudocolor: * Pseudocolor:
* uses offset = 0 && length = RAMDAC register width. * uses offset = 0 && length = RAMDAC register width.
* var->{color}.offset is 0 * var->{color}.offset is 0
...@@ -384,7 +384,7 @@ static int mc68x328fb_pan_display(struct fb_var_screeninfo *var, ...@@ -384,7 +384,7 @@ static int mc68x328fb_pan_display(struct fb_var_screeninfo *var,
} }
/* /*
* Most drivers don't need their own mmap function * Most drivers don't need their own mmap function
*/ */
static int mc68x328fb_mmap(struct fb_info *info, struct vm_area_struct *vma) static int mc68x328fb_mmap(struct fb_info *info, struct vm_area_struct *vma)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment