Commit 2fce6899 authored by Thomas Zimmermann's avatar Thomas Zimmermann Committed by Helge Deller

fbdev: valkyriefb: 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 80004257
/* /*
* valkyriefb.c -- frame buffer device for the PowerMac 'valkyrie' display * valkyriefb.c -- frame buffer device for the PowerMac 'valkyrie' display
* *
* Created 8 August 1998 by * Created 8 August 1998 by
* Martin Costabel <costabel@wanadoo.fr> and Kevin Schoedel * Martin Costabel <costabel@wanadoo.fr> and Kevin Schoedel
* *
* Vmode-switching changes and vmode 15/17 modifications created 29 August * Vmode-switching changes and vmode 15/17 modifications created 29 August
...@@ -77,13 +77,13 @@ struct fb_info_valkyrie { ...@@ -77,13 +77,13 @@ struct fb_info_valkyrie {
struct fb_par_valkyrie par; struct fb_par_valkyrie par;
struct cmap_regs __iomem *cmap_regs; struct cmap_regs __iomem *cmap_regs;
unsigned long cmap_regs_phys; unsigned long cmap_regs_phys;
struct valkyrie_regs __iomem *valkyrie_regs; struct valkyrie_regs __iomem *valkyrie_regs;
unsigned long valkyrie_regs_phys; unsigned long valkyrie_regs_phys;
__u8 __iomem *frame_buffer; __u8 __iomem *frame_buffer;
unsigned long frame_buffer_phys; unsigned long frame_buffer_phys;
int sense; int sense;
unsigned long total_vram; unsigned long total_vram;
...@@ -244,7 +244,7 @@ static inline int valkyrie_vram_reqd(int video_mode, int color_mode) ...@@ -244,7 +244,7 @@ static inline int valkyrie_vram_reqd(int video_mode, int color_mode)
{ {
int pitch; int pitch;
struct valkyrie_regvals *init = valkyrie_reg_init[video_mode-1]; struct valkyrie_regvals *init = valkyrie_reg_init[video_mode-1];
if ((pitch = init->pitch[color_mode]) == 0) if ((pitch = init->pitch[color_mode]) == 0)
pitch = 2 * init->pitch[0]; pitch = 2 * init->pitch[0];
return init->vres * pitch; return init->vres * pitch;
...@@ -467,7 +467,7 @@ static int valkyrie_var_to_par(struct fb_var_screeninfo *var, ...@@ -467,7 +467,7 @@ static int valkyrie_var_to_par(struct fb_var_screeninfo *var,
printk(KERN_ERR "valkyriefb: vmode %d not valid.\n", vmode); printk(KERN_ERR "valkyriefb: vmode %d not valid.\n", vmode);
return -EINVAL; return -EINVAL;
} }
if (cmode != CMODE_8 && cmode != CMODE_16) { if (cmode != CMODE_8 && cmode != CMODE_16) {
printk(KERN_ERR "valkyriefb: cmode %d not valid.\n", cmode); printk(KERN_ERR "valkyriefb: cmode %d not valid.\n", cmode);
return -EINVAL; return -EINVAL;
...@@ -516,7 +516,7 @@ static void valkyrie_init_fix(struct fb_fix_screeninfo *fix, struct fb_info_valk ...@@ -516,7 +516,7 @@ static void valkyrie_init_fix(struct fb_fix_screeninfo *fix, struct fb_info_valk
fix->ywrapstep = 0; fix->ywrapstep = 0;
fix->ypanstep = 0; fix->ypanstep = 0;
fix->xpanstep = 0; fix->xpanstep = 0;
} }
/* Fix must already be inited above */ /* Fix must already be inited above */
......
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