Commit 7f501aa7 authored by Lucy Mielke's avatar Lucy Mielke Committed by Helge Deller

fbdev: omapfb: cleanup inconsistent indentation

This cleans up the indentation according to the Linux kernel coding
style, and should fix the warning created by the kernel test robot.

Fixes: 8b08cf2b ("OMAP: add TI OMAP framebuffer driver")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarLucy Mielke <mielkesteven@icloud.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 8f0e0560
......@@ -544,19 +544,25 @@ static int set_fb_var(struct fb_info *fbi,
var->yoffset = var->yres_virtual - var->yres;
if (plane->color_mode == OMAPFB_COLOR_RGB444) {
var->red.offset = 8; var->red.length = 4;
var->red.msb_right = 0;
var->green.offset = 4; var->green.length = 4;
var->green.msb_right = 0;
var->blue.offset = 0; var->blue.length = 4;
var->blue.msb_right = 0;
var->red.offset = 8;
var->red.length = 4;
var->red.msb_right = 0;
var->green.offset = 4;
var->green.length = 4;
var->green.msb_right = 0;
var->blue.offset = 0;
var->blue.length = 4;
var->blue.msb_right = 0;
} else {
var->red.offset = 11; var->red.length = 5;
var->red.msb_right = 0;
var->green.offset = 5; var->green.length = 6;
var->green.msb_right = 0;
var->blue.offset = 0; var->blue.length = 5;
var->blue.msb_right = 0;
var->red.offset = 11;
var->red.length = 5;
var->red.msb_right = 0;
var->green.offset = 5;
var->green.length = 6;
var->green.msb_right = 0;
var->blue.offset = 0;
var->blue.length = 5;
var->blue.msb_right = 0;
}
var->height = -1;
......
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