Commit ba6ed643 authored by Anson Jacob's avatar Anson Jacob Committed by Greg Kroah-Hartman

staging: fbtft: fb_ssd1331: Fix checkpatch warning

Fix checkpatch.pl warning:
Block comments use * on subsequent lines
Signed-off-by: default avatarAnson Jacob <ansonjacob.aj@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d0b6ecbe
...@@ -102,26 +102,26 @@ static void write_reg8_bus8(struct fbtft_par *par, int len, ...) ...@@ -102,26 +102,26 @@ static void write_reg8_bus8(struct fbtft_par *par, int len, ...)
} }
/* /*
Grayscale Lookup Table * Grayscale Lookup Table
GS1 - GS63 * GS1 - GS63
The driver Gamma curve contains the relative values between the entries * The driver Gamma curve contains the relative values between the entries
in the Lookup table. * in the Lookup table.
*
From datasheet: * From datasheet:
8.8 Gray Scale Decoder * 8.8 Gray Scale Decoder
*
there are total 180 Gamma Settings (Setting 0 to Setting 180) * there are total 180 Gamma Settings (Setting 0 to Setting 180)
available for the Gray Scale table. * available for the Gray Scale table.
*
The gray scale is defined in incremental way, with reference * The gray scale is defined in incremental way, with reference
to the length of previous table entry: * to the length of previous table entry:
Setting of GS1 has to be >= 0 * Setting of GS1 has to be >= 0
Setting of GS2 has to be > Setting of GS1 +1 * Setting of GS2 has to be > Setting of GS1 +1
Setting of GS3 has to be > Setting of GS2 +1 * Setting of GS3 has to be > Setting of GS2 +1
: * :
Setting of GS63 has to be > Setting of GS62 +1 * Setting of GS63 has to be > Setting of GS62 +1
*
*/ */
static int set_gamma(struct fbtft_par *par, unsigned long *curves) static int set_gamma(struct fbtft_par *par, unsigned long *curves)
{ {
unsigned long tmp[GAMMA_NUM * GAMMA_LEN]; unsigned long tmp[GAMMA_NUM * GAMMA_LEN];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment