mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 03:10:30 -04:00
staging: sm7xxfb: add missing blank line
checkpatch cleanup to add missing blank line after declaration Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
13e4e9b84b
commit
a1f6da67be
@@ -259,6 +259,7 @@ static int smtc_setcolreg(unsigned regno, unsigned red, unsigned green,
|
||||
if (regno < 16) {
|
||||
if (sfb->fb.var.bits_per_pixel == 16) {
|
||||
u32 *pal = sfb->fb.pseudo_palette;
|
||||
|
||||
val = chan_to_field(red, &sfb->fb.var.red);
|
||||
val |= chan_to_field(green, &sfb->fb.var.green);
|
||||
val |= chan_to_field(blue, &sfb->fb.var.blue);
|
||||
@@ -273,6 +274,7 @@ static int smtc_setcolreg(unsigned regno, unsigned red, unsigned green,
|
||||
#endif
|
||||
} else {
|
||||
u32 *pal = sfb->fb.pseudo_palette;
|
||||
|
||||
val = chan_to_field(red, &sfb->fb.var.red);
|
||||
val |= chan_to_field(green, &sfb->fb.var.green);
|
||||
val |= chan_to_field(blue, &sfb->fb.var.blue);
|
||||
|
||||
Reference in New Issue
Block a user