mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 22:24:11 +08:00
fbdev: macfb: Remove trailing whitespaces
Fix coding style. No functional changes. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Helge Deller <deller@gmx.de> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
4311776fd8
commit
41aaa2ecfc
@ -339,7 +339,7 @@ static int civic_setpalette(unsigned int regno, unsigned int red,
|
||||
{
|
||||
unsigned long flags;
|
||||
int clut_status;
|
||||
|
||||
|
||||
local_irq_save(flags);
|
||||
|
||||
/* Set the register address */
|
||||
@ -439,7 +439,7 @@ static int macfb_setcolreg(unsigned regno, unsigned red, unsigned green,
|
||||
* (according to the entries in the `var' structure).
|
||||
* Return non-zero for invalid regno.
|
||||
*/
|
||||
|
||||
|
||||
if (regno >= fb_info->cmap.len)
|
||||
return 1;
|
||||
|
||||
@ -548,7 +548,7 @@ static int __init macfb_init(void)
|
||||
return -ENODEV;
|
||||
macfb_setup(option);
|
||||
|
||||
if (!MACH_IS_MAC)
|
||||
if (!MACH_IS_MAC)
|
||||
return -ENODEV;
|
||||
|
||||
if (mac_bi_data.id == MAC_MODEL_Q630 ||
|
||||
@ -644,7 +644,7 @@ static int __init macfb_init(void)
|
||||
err = -EINVAL;
|
||||
goto fail_unmap;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* We take a wild guess that if the video physical address is
|
||||
* in nubus slot space, that the nubus card is driving video.
|
||||
@ -774,7 +774,7 @@ static int __init macfb_init(void)
|
||||
civic_cmap_regs = ioremap(CIVIC_BASE, 0x1000);
|
||||
break;
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Assorted weirdos
|
||||
* We think this may be like the LC II
|
||||
|
Loading…
Reference in New Issue
Block a user