Skip to content

Commit 4311776

Browse files
Thomas Zimmermannhdeller
authored andcommitted
fbdev: hpfb: Remove trailing whitespaces
Fix coding style. No functional changes. Signed-off-by: Thomas Zimmermann <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent f15d296 commit 4311776

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/video/fbdev/hpfb.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static int hpfb_setcolreg(unsigned regno, unsigned red, unsigned green,
9292

9393
if (regno >= info->cmap.len)
9494
return 1;
95-
95+
9696
while (in_be16(fb_regs + 0x6002) & 0x4) udelay(1);
9797

9898
out_be16(fb_regs + 0x60ba, 0xff);
@@ -143,7 +143,7 @@ static void topcat_blit(int x0, int y0, int x1, int y1, int w, int h, int rr)
143143
out_8(fb_regs + WMOVE, fb_bitmask);
144144
}
145145

146-
static void hpfb_copyarea(struct fb_info *info, const struct fb_copyarea *area)
146+
static void hpfb_copyarea(struct fb_info *info, const struct fb_copyarea *area)
147147
{
148148
topcat_blit(area->sx, area->sy, area->dx, area->dy, area->width, area->height, RR_COPY);
149149
}
@@ -315,15 +315,15 @@ static int hpfb_init_one(unsigned long phys_base, unsigned long virt_base)
315315
return ret;
316316
}
317317

318-
/*
318+
/*
319319
* Check that the secondary ID indicates that we have some hope of working with this
320320
* framebuffer. The catseye boards are pretty much like topcats and we can muddle through.
321321
*/
322322

323323
#define topcat_sid_ok(x) (((x) == DIO_ID2_LRCATSEYE) || ((x) == DIO_ID2_HRCCATSEYE) \
324324
|| ((x) == DIO_ID2_HRMCATSEYE) || ((x) == DIO_ID2_TOPCAT))
325325

326-
/*
326+
/*
327327
* Initialise the framebuffer
328328
*/
329329
static int hpfb_dio_probe(struct dio_dev *d, const struct dio_device_id *ent)

0 commit comments

Comments
 (0)