Staging: fbtft: Alignment should match open parenthesis
authorBhanusree Pola <bhanusreemahesh@gmail.com>
Tue, 26 Feb 2019 00:26:16 +0000 (05:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Feb 2019 10:40:07 +0000 (11:40 +0100)
Clear the warning found by checkpatch.pl
WARNING:Alignment should match open parenthesis

Adjust paremeters in fbtft_par_dbg and write_reg.

Signed-off-by: Bhanusree Pola <bhanusreemahesh@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_ssd1351.c
drivers/staging/fbtft/fb_tinylcd.c

index a8980d9..9ac78ce 100644 (file)
@@ -164,7 +164,7 @@ static int set_gamma(struct fbtft_par *par, u32 *curves)
 static int blank(struct fbtft_par *par, bool on)
 {
        fbtft_par_dbg(DEBUG_BLANK, par, "(%s=%s)\n",
-               __func__, on ? "true" : "false");
+                     __func__, on ? "true" : "false");
        if (on)
                write_reg(par, 0xAE);
        else
index e463b0d..9469248 100644 (file)
@@ -38,7 +38,7 @@ static int init_display(struct fbtft_par *par)
        write_reg(par, 0xE5, 0x00);
        write_reg(par, 0xF0, 0x36, 0xA5, 0x53);
        write_reg(par, 0xE0, 0x00, 0x35, 0x33, 0x00, 0x00, 0x00,
-                            0x00, 0x35, 0x33, 0x00, 0x00, 0x00);
+                      0x00, 0x35, 0x33, 0x00, 0x00, 0x00);
        write_reg(par, MIPI_DCS_SET_PIXEL_FORMAT, 0x55);
        write_reg(par, MIPI_DCS_EXIT_SLEEP_MODE);
        udelay(250);