fbmon: cleanup trailing whitespaces
[akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Andre Haupt <andre@bitwigglers.org> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
cb85063ae8
commit
8c85fd89be
@ -160,8 +160,8 @@ static int check_edid(unsigned char *edid)
|
||||
for (i = 0; i < ARRAY_SIZE(brokendb); i++) {
|
||||
if (!strncmp(manufacturer, brokendb[i].manufacturer, 4) &&
|
||||
brokendb[i].model == model) {
|
||||
fix = brokendb[i].fix;
|
||||
break;
|
||||
fix = brokendb[i].fix;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -451,11 +451,11 @@ static int get_est_timing(unsigned char *block, struct fb_videomode *mode)
|
||||
|
||||
c = block[1];
|
||||
if (c&0x80) {
|
||||
mode[num++] = vesa_modes[9];
|
||||
mode[num++] = vesa_modes[9];
|
||||
DPRINTK(" 800x600@72Hz\n");
|
||||
}
|
||||
if (c&0x40) {
|
||||
mode[num++] = vesa_modes[10];
|
||||
mode[num++] = vesa_modes[10];
|
||||
DPRINTK(" 800x600@75Hz\n");
|
||||
}
|
||||
if (c&0x20) {
|
||||
@ -536,7 +536,7 @@ static int get_dst_timing(unsigned char *block,
|
||||
{
|
||||
int j, num = 0;
|
||||
|
||||
for (j = 0; j < 6; j++, block+= STD_TIMING_DESCRIPTION_SIZE)
|
||||
for (j = 0; j < 6; j++, block += STD_TIMING_DESCRIPTION_SIZE)
|
||||
num += get_std_timing(block, &mode[num]);
|
||||
|
||||
return num;
|
||||
@ -1077,7 +1077,7 @@ static u32 fb_get_hblank_by_dclk(u32 dclk, u32 xres)
|
||||
h_period = 100 - C_VAL;
|
||||
h_period *= h_period;
|
||||
h_period += (M_VAL * xres * 2 * 1000)/(5 * dclk);
|
||||
h_period *=10000;
|
||||
h_period *= 10000;
|
||||
|
||||
h_period = int_sqrt(h_period);
|
||||
h_period -= (100 - C_VAL) * 100;
|
||||
|
Loading…
Reference in New Issue
Block a user