staging: fbtft: fix code alignment with open parenthesis
These changes where identified by checkpatch.pl as needed changes to align the code with the linux development coding style. The several lines of text where aligned with the precending parenthesis. Signed-off-by: Scott Matheina <scott@matheina.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c7591a266a
commit
6b5f707c94
@ -185,8 +185,8 @@ static void write_reg8_bus8(struct fbtft_par *par, int len, ...)
|
||||
buf[i] = (u8)va_arg(args, unsigned int);
|
||||
|
||||
va_end(args);
|
||||
fbtft_par_dbg_hex(DEBUG_WRITE_REGISTER, par,
|
||||
par->info->device, u8, buf, len, "%s: ", __func__);
|
||||
fbtft_par_dbg_hex(DEBUG_WRITE_REGISTER, par, par->info->device,
|
||||
u8, buf, len, "%s: ", __func__);
|
||||
}
|
||||
|
||||
va_start(args, len);
|
||||
@ -361,7 +361,8 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
|
||||
/* left half of display */
|
||||
if (addr_win.xs < par->info->var.xres / 2) {
|
||||
construct_line_bitmap(par, buf, convert_buf,
|
||||
addr_win.xs, par->info->var.xres / 2, y);
|
||||
addr_win.xs,
|
||||
par->info->var.xres / 2, y);
|
||||
|
||||
len = par->info->var.xres / 2 - addr_win.xs;
|
||||
|
||||
@ -382,7 +383,8 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
|
||||
/* right half of display */
|
||||
if (addr_win.xe >= par->info->var.xres / 2) {
|
||||
construct_line_bitmap(par, buf,
|
||||
convert_buf, par->info->var.xres / 2,
|
||||
convert_buf,
|
||||
par->info->var.xres / 2,
|
||||
addr_win.xe + 1, y);
|
||||
|
||||
len = addr_win.xe + 1 - par->info->var.xres / 2;
|
||||
|
Loading…
Reference in New Issue
Block a user