diff options
author | Eva Rachel Retuya <eraretuya@gmail.com> | 2016-02-12 10:39:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-15 03:22:49 +0300 |
commit | f07e89ce1e1bdcae5427e6d37546086cb3d18369 (patch) | |
tree | 0d704728e4009deb909ef6b1d073eb9004a59763 /drivers/staging/fbtft/fb_ili9163.c | |
parent | 3a334ea5105ff7a1556f351caa2d028e7e7a6c8f (diff) | |
download | linux-f07e89ce1e1bdcae5427e6d37546086cb3d18369.tar.xz |
staging: fbtft: Fix alignment to match open parenthesis
Fix alignment issues by properly indenting function parameters in
accordance to the kernel coding style. Checkpatch pointed out this
issue.
CHECK: Alignment should match open parenthesis
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fbtft/fb_ili9163.c')
-rw-r--r-- | drivers/staging/fbtft/fb_ili9163.c | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/drivers/staging/fbtft/fb_ili9163.c b/drivers/staging/fbtft/fb_ili9163.c index 3f6c245ef2af..9f7c7ecc877e 100644 --- a/drivers/staging/fbtft/fb_ili9163.c +++ b/drivers/staging/fbtft/fb_ili9163.c @@ -122,7 +122,7 @@ static int init_display(struct fbtft_par *par) } static void set_addr_win(struct fbtft_par *par, int xs, int ys, - int xe, int ye) + int xe, int ye) { switch (par->info->var.rotate) { case 0: @@ -215,22 +215,21 @@ static int gamma_adj(struct fbtft_par *par, unsigned long *curves) CURVE(i, j) &= mask[i * par->gamma.num_values + j]; write_reg(par, CMD_PGAMMAC, - CURVE(0, 0), - CURVE(0, 1), - CURVE(0, 2), - CURVE(0, 3), - CURVE(0, 4), - CURVE(0, 5), - CURVE(0, 6), - (CURVE(0, 7) << 4) | CURVE(0, 8), - CURVE(0, 9), - CURVE(0, 10), - CURVE(0, 11), - CURVE(0, 12), - CURVE(0, 13), - CURVE(0, 14), - CURVE(0, 15) - ); + CURVE(0, 0), + CURVE(0, 1), + CURVE(0, 2), + CURVE(0, 3), + CURVE(0, 4), + CURVE(0, 5), + CURVE(0, 6), + (CURVE(0, 7) << 4) | CURVE(0, 8), + CURVE(0, 9), + CURVE(0, 10), + CURVE(0, 11), + CURVE(0, 12), + CURVE(0, 13), + CURVE(0, 14), + CURVE(0, 15)); /* Write Data to GRAM mode */ write_reg(par, MIPI_DCS_WRITE_MEMORY_START); |