Skip to content

Commit a124ee3

Browse files
Thomas Zimmermannhdeller
authored andcommitted
fbdev: platinumfb: 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 58b0aca commit a124ee3

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

drivers/video/fbdev/platinumfb.c

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ struct fb_info_platinum {
5252
__u8 red, green, blue;
5353
} palette[256];
5454
u32 pseudo_palette[16];
55-
55+
5656
volatile struct cmap_regs __iomem *cmap_regs;
5757
unsigned long cmap_regs_phys;
58-
58+
5959
volatile struct platinum_regs __iomem *platinum_regs;
6060
unsigned long platinum_regs_phys;
61-
61+
6262
__u8 __iomem *frame_buffer;
6363
volatile __u8 __iomem *base_frame_buffer;
6464
unsigned long frame_buffer_phys;
65-
65+
6666
unsigned long total_vram;
6767
int clktype;
6868
int dactype;
@@ -133,7 +133,7 @@ static int platinumfb_set_par (struct fb_info *info)
133133
platinum_set_hardware(pinfo);
134134

135135
init = platinum_reg_init[pinfo->vmode-1];
136-
136+
137137
if ((pinfo->vmode == VMODE_832_624_75) && (pinfo->cmode > CMODE_8))
138138
offset = 0x10;
139139

@@ -214,7 +214,7 @@ static int platinumfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
214214
break;
215215
}
216216
}
217-
217+
218218
return 0;
219219
}
220220

@@ -269,7 +269,7 @@ static void platinum_set_hardware(struct fb_info_platinum *pinfo)
269269
struct platinum_regvals *init;
270270
int i;
271271
int vmode, cmode;
272-
272+
273273
vmode = pinfo->vmode;
274274
cmode = pinfo->cmode;
275275

@@ -436,7 +436,7 @@ static int read_platinum_sense(struct fb_info_platinum *info)
436436
* This routine takes a user-supplied var, and picks the best vmode/cmode from it.
437437
* It also updates the var structure to the actual mode data obtained
438438
*/
439-
static int platinum_var_to_par(struct fb_var_screeninfo *var,
439+
static int platinum_var_to_par(struct fb_var_screeninfo *var,
440440
struct fb_info_platinum *pinfo,
441441
int check_only)
442442
{
@@ -478,12 +478,12 @@ static int platinum_var_to_par(struct fb_var_screeninfo *var,
478478
pinfo->yoffset = 0;
479479
pinfo->vxres = pinfo->xres;
480480
pinfo->vyres = pinfo->yres;
481-
481+
482482
return 0;
483483
}
484484

485485

486-
/*
486+
/*
487487
* Parse user specified options (`video=platinumfb:')
488488
*/
489489
static int __init platinumfb_setup(char *options)
@@ -624,7 +624,7 @@ static int platinumfb_probe(struct platform_device* odev)
624624
break;
625625
}
626626
dev_set_drvdata(&odev->dev, info);
627-
627+
628628
rc = platinum_init_fb(info);
629629
if (rc != 0) {
630630
iounmap(pinfo->frame_buffer);
@@ -640,9 +640,9 @@ static void platinumfb_remove(struct platform_device* odev)
640640
{
641641
struct fb_info *info = dev_get_drvdata(&odev->dev);
642642
struct fb_info_platinum *pinfo = info->par;
643-
643+
644644
unregister_framebuffer (info);
645-
645+
646646
/* Unmap frame buffer and registers */
647647
iounmap(pinfo->frame_buffer);
648648
iounmap(pinfo->platinum_regs);
@@ -656,15 +656,15 @@ static void platinumfb_remove(struct platform_device* odev)
656656
framebuffer_release(info);
657657
}
658658

659-
static struct of_device_id platinumfb_match[] =
659+
static struct of_device_id platinumfb_match[] =
660660
{
661661
{
662662
.name = "platinum",
663663
},
664664
{},
665665
};
666666

667-
static struct platform_driver platinum_driver =
667+
static struct platform_driver platinum_driver =
668668
{
669669
.driver = {
670670
.name = "platinumfb",

0 commit comments

Comments
 (0)