Staging: fbtft: Fix parenthesis alignment coding style issue
authorFabio Falzoi <fabio.falzoi84@gmail.com>
Tue, 30 Jun 2015 06:43:16 +0000 (08:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2015 02:16:16 +0000 (19:16 -0700)
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>
drivers/staging/fbtft/flexfb.c

index ed867e7..13d173e 100644 (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,
                                  int xs, int ys, int xe, int ye)
 {
-       fbtft_par_dbg(DEBUG_SET_ADDR_WIN, par,
-                    "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n",
-                    __func__, xs, ys, xe, ye);
+       fbtft_par_dbg(DEBUG_SET_ADDR_WIN, par, "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n",
+                     __func__, xs, ys, xe, ye);
        switch (par->info->var.rotate) {
        /* R20h = Horizontal 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;
        par = info->par;
        if (par)
-               fbtft_par_dbg(DEBUG_DRIVER_INIT_FUNCTIONS, par,
-                       "%s()\n", __func__);
+               fbtft_par_dbg(DEBUG_DRIVER_INIT_FUNCTIONS, par, "%s()\n",
+                             __func__);
        fbtft_unregister_framebuffer(info);
        fbtft_framebuffer_release(info);