Commit 8e651bb9 authored by Martin Berglund's avatar Martin Berglund Committed by Greg Kroah-Hartman

Staging: sm7xxfb: fixed line break coding style issues

Fixed coding style issues.
Signed-off-by: default avatarMartin Berglund <martin@rogsta.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6170155d
...@@ -259,8 +259,7 @@ static int smtc_setcolreg(unsigned regno, unsigned red, unsigned green, ...@@ -259,8 +259,7 @@ static int smtc_setcolreg(unsigned regno, unsigned red, unsigned green,
if (sfb->fb.var.bits_per_pixel == 16) { if (sfb->fb.var.bits_per_pixel == 16) {
u32 *pal = sfb->fb.pseudo_palette; u32 *pal = sfb->fb.pseudo_palette;
val = chan_to_field(red, &sfb->fb.var.red); val = chan_to_field(red, &sfb->fb.var.red);
val |= chan_to_field(green, \ val |= chan_to_field(green, &sfb->fb.var.green);
&sfb->fb.var.green);
val |= chan_to_field(blue, &sfb->fb.var.blue); val |= chan_to_field(blue, &sfb->fb.var.blue);
#ifdef __BIG_ENDIAN #ifdef __BIG_ENDIAN
pal[regno] = pal[regno] =
...@@ -274,8 +273,7 @@ static int smtc_setcolreg(unsigned regno, unsigned red, unsigned green, ...@@ -274,8 +273,7 @@ static int smtc_setcolreg(unsigned regno, unsigned red, unsigned green,
} else { } else {
u32 *pal = sfb->fb.pseudo_palette; u32 *pal = sfb->fb.pseudo_palette;
val = chan_to_field(red, &sfb->fb.var.red); val = chan_to_field(red, &sfb->fb.var.red);
val |= chan_to_field(green, \ val |= chan_to_field(green, &sfb->fb.var.green);
&sfb->fb.var.green);
val |= chan_to_field(blue, &sfb->fb.var.blue); val |= chan_to_field(blue, &sfb->fb.var.blue);
#ifdef __BIG_ENDIAN #ifdef __BIG_ENDIAN
val = val =
...@@ -508,9 +506,9 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb) ...@@ -508,9 +506,9 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb)
/* init SEQ register SR30 - SR75 */ /* init SEQ register SR30 - SR75 */
for (i = 0; i < SIZE_SR30_SR75; i++) for (i = 0; i < SIZE_SR30_SR75; i++)
if (((i + 0x30) != 0x62) \ if ((i + 0x30) != 0x62 &&
&& ((i + 0x30) != 0x6a) \ (i + 0x30) != 0x6a &&
&& ((i + 0x30) != 0x6b)) (i + 0x30) != 0x6b)
smtc_seqw(i + 0x30, smtc_seqw(i + 0x30,
VGAMode[j].Init_SR30_SR75[i]); VGAMode[j].Init_SR30_SR75[i]);
......
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