Staging: fbtft: Fix parenthesis alignment coding style issue

This patch fixes the following checkpatch.pl error:

CHECK:PARENTHESIS_ALIGNMENT at line 217.

Signed-off-by: Fabio Falzoi <fabio.falzoi84@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Fabio Falzoi 2015-06-30 08:43:16 +02:00 committed by Greg Kroah-Hartman
parent df127f13c2
commit 4906c43a34
1 changed files with 4 additions and 5 deletions

View File

@ -130,9 +130,8 @@ static int ssd1351_init[] = { -1, 0xfd, 0x12, -1, 0xfd, 0xb1, -1, 0xae, -1, 0xb3
static void flexfb_set_addr_win_1(struct fbtft_par *par, static void flexfb_set_addr_win_1(struct fbtft_par *par,
int xs, int ys, int xe, int ye) int xs, int ys, int xe, int ye)
{ {
fbtft_par_dbg(DEBUG_SET_ADDR_WIN, par, fbtft_par_dbg(DEBUG_SET_ADDR_WIN, par, "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n",
"%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye);
__func__, xs, ys, xe, ye);
switch (par->info->var.rotate) { switch (par->info->var.rotate) {
/* R20h = Horizontal GRAM Start Address */ /* R20h = Horizontal GRAM Start Address */
/* R21h = Vertical GRAM Start Address */ /* R21h = Vertical GRAM Start Address */
@ -512,8 +511,8 @@ static int flexfb_remove_common(struct device *dev, struct fb_info *info)
return -EINVAL; return -EINVAL;
par = info->par; par = info->par;
if (par) if (par)
fbtft_par_dbg(DEBUG_DRIVER_INIT_FUNCTIONS, par, fbtft_par_dbg(DEBUG_DRIVER_INIT_FUNCTIONS, par, "%s()\n",
"%s()\n", __func__); __func__);
fbtft_unregister_framebuffer(info); fbtft_unregister_framebuffer(info);
fbtft_framebuffer_release(info); fbtft_framebuffer_release(info);