]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: fbtft: fix unaligned parentheses
authorUmang Raghuvanshi <u@umangis.me>
Thu, 26 Jan 2017 14:40:59 +0000 (14:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jan 2017 08:40:56 +0000 (09:40 +0100)
Fix the following formatting issues:
CHECK: Alignment should match open parenthesis

Signed-off-by: Umang Raghuvanshi <u@umangis.me>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_ra8875.c

index a6bc1503a50ec4bef5da8b7e094811790f197e8b..89d36d6d0cd3d105d4d90d03ab2ca1f8645c64c8 100644 (file)
@@ -33,7 +33,7 @@ static int write_spi(struct fbtft_par *par, void *buf, size_t len)
        struct spi_message m;
 
        fbtft_par_dbg_hex(DEBUG_WRITE, par, par->info->device, u8, buf, len,
-               "%s(len=%d): ", __func__, len);
+                         "%s(len=%d): ", __func__, len);
 
        if (!par->spi) {
                dev_err(par->info->device,
@@ -51,9 +51,9 @@ static int init_display(struct fbtft_par *par)
        gpio_set_value(par->gpio.dc, 1);
 
        fbtft_par_dbg(DEBUG_INIT_DISPLAY, par,
-               "%s()\n", __func__);
+                     "%s()\n", __func__);
        fbtft_par_dbg(DEBUG_INIT_DISPLAY, par,
-               "display size %dx%d\n",
+                     "display size %dx%d\n",
                par->info->var.xres,
                par->info->var.yres);
 
@@ -211,7 +211,7 @@ 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__);
+                                 u8, buf, len, "%s: ", __func__);
        }
 
        va_start(args, len);
@@ -262,7 +262,7 @@ static int write_vmem16_bus8(struct fbtft_par *par, size_t offset, size_t len)
        size_t startbyte_size = 0;
 
        fbtft_par_dbg(DEBUG_WRITE_VMEM, par, "%s(offset=%zu, len=%zu)\n",
-               __func__, offset, len);
+                     __func__, offset, len);
 
        remain = len / 2;
        vmem16 = (u16 *)(par->info->screen_buffer + offset);