Commit 41aaa2ec authored by Thomas Zimmermann's avatar Thomas Zimmermann Committed by Helge Deller

fbdev: macfb: 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 4311776f
...@@ -339,7 +339,7 @@ static int civic_setpalette(unsigned int regno, unsigned int red, ...@@ -339,7 +339,7 @@ static int civic_setpalette(unsigned int regno, unsigned int red,
{ {
unsigned long flags; unsigned long flags;
int clut_status; int clut_status;
local_irq_save(flags); local_irq_save(flags);
/* Set the register address */ /* Set the register address */
...@@ -439,7 +439,7 @@ static int macfb_setcolreg(unsigned regno, unsigned red, unsigned green, ...@@ -439,7 +439,7 @@ static int macfb_setcolreg(unsigned regno, unsigned red, unsigned green,
* (according to the entries in the `var' structure). * (according to the entries in the `var' structure).
* Return non-zero for invalid regno. * Return non-zero for invalid regno.
*/ */
if (regno >= fb_info->cmap.len) if (regno >= fb_info->cmap.len)
return 1; return 1;
...@@ -548,7 +548,7 @@ static int __init macfb_init(void) ...@@ -548,7 +548,7 @@ static int __init macfb_init(void)
return -ENODEV; return -ENODEV;
macfb_setup(option); macfb_setup(option);
if (!MACH_IS_MAC) if (!MACH_IS_MAC)
return -ENODEV; return -ENODEV;
if (mac_bi_data.id == MAC_MODEL_Q630 || if (mac_bi_data.id == MAC_MODEL_Q630 ||
...@@ -644,7 +644,7 @@ static int __init macfb_init(void) ...@@ -644,7 +644,7 @@ static int __init macfb_init(void)
err = -EINVAL; err = -EINVAL;
goto fail_unmap; goto fail_unmap;
} }
/* /*
* We take a wild guess that if the video physical address is * We take a wild guess that if the video physical address is
* in nubus slot space, that the nubus card is driving video. * in nubus slot space, that the nubus card is driving video.
...@@ -774,7 +774,7 @@ static int __init macfb_init(void) ...@@ -774,7 +774,7 @@ static int __init macfb_init(void)
civic_cmap_regs = ioremap(CIVIC_BASE, 0x1000); civic_cmap_regs = ioremap(CIVIC_BASE, 0x1000);
break; break;
/* /*
* Assorted weirdos * Assorted weirdos
* We think this may be like the LC II * We think this may be like the LC II
......
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