staging: fbtft: Fix line over 80 characters
Subsystems (2)
PATCH 1/2 staging: fbtft: Fix line over 80 characters
Fix checkpatch line over 80 characters where it seemed appropriate
Signed-off-by Matthias Wolf <[email protected]>
Signed-off-by Felix Siegel <[email protected]>
Signed-off-by Tim Cofala <[email protected]>
--- drivers/staging/fbtft/fb_s6d02a1.c | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-)
drivers/staging/fbtft/fb_s6d02a1.c +20 -10
@@ -21,20 +21,27 @@ static const s16 default_init_sequence[] = {-1 ,0xfc ,0x5a ,0x5a , --1 ,0xfa ,0x02 ,0x1f ,0x00 ,0x10 ,0x22 ,0x30 ,0x38 ,0x3A ,0x3A ,0x3A ,0x3A ,0x3A ,0x3d ,0x02 ,0x01 , +-1 ,0xfa ,0x02 ,0x1f ,0x00 ,0x10 ,0x22 ,0x30 ,0x38 , +0x3A ,0x3A ,0x3A ,0x3A ,0x3A ,0x3d ,0x02 ,0x01 , --1 ,0xfb ,0x21 ,0x00 ,0x02 ,0x04 ,0x07 ,0x0a ,0x0b ,0x0c ,0x0c ,0x16 ,0x1e ,0x30 ,0x3f ,0x01 ,0x02 , +-1 ,0xfb ,0x21 ,0x00 ,0x02 ,0x04 ,0x07 ,0x0a ,0x0b , +0x0c ,0x0c ,0x16 ,0x1e ,0x30 ,0x3f ,0x01 ,0x02 ,/* power setting sequence */ --1 ,0xfd ,0x00 ,0x00 ,0x00 ,0x17 ,0x10 ,0x00 ,0x01 ,0x01 ,0x00 ,0x1f ,0x1f , +-1 ,0xfd ,0x00 ,0x00 ,0x00 ,0x17 ,0x10 ,0x00 ,0x01 , +0x01 ,0x00 ,0x1f ,0x1f , --1 ,0xf4 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x3f ,0x3f ,0x07 ,0x00 ,0x3C ,0x36 ,0x00 ,0x3C ,0x36 ,0x00 , +-1 ,0xf4 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x3f ,0x3f , +0x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00 ,0x00 ,0x01 ,0x00 ,0x16 ,0x16 , +-1 ,0xfd ,0x00 ,0x00 ,0x00 ,0x17 ,0x10 ,0x00 ,0x00 , +0x01 ,0x00 ,0x16 ,0x16 , --1 ,0xf4 ,0x00 ,0x09 ,0x00 ,0x00 ,0x00 ,0x3f ,0x3f ,0x07 ,0x00 ,0x3C ,0x36 ,0x00 ,0x3C ,0x36 ,0x00 , +-1 ,0xf4 ,0x00 ,0x09 ,0x00 ,0x00 ,0x00 ,0x3f ,0x3f , +0x07 ,0x00 ,0x3C ,0x36 ,0x00 ,0x3C ,0x36 ,0x00 , /* initializing sequence */
Signature · 1 line
2.7.4
PATCH 2/2 staging: fbtft: Fix line continuation
Fix checkpatch warning: avoid unnecessary line continuation to allow grepping of whole error message.
Signed-off-by Matthias Wolf <[email protected]>
Signed-off-by Felix Siegel <[email protected]>
Signed-off-by Tim Cofala <[email protected]>
--- drivers/staging/fbtft/fb_ssd1351.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/staging/fbtft/fb_ssd1351.c +2 -4
@@ -126,16 +126,14 @@ static int set_gamma(struct fbtft_par *par, u32 *curves)for (i =0 ; i <63 ; i++) {if (i >0 && curves[i] <2 ) {dev_err (par->info->device, -"Illegal value in Grayscale Lookup Table at index %d. " \ -"Must be greater than 1\n" , i); +"Illegal value in Grayscale Lookup Table at index %d. Must be greater than 1\n" , i);return -EINVAL ; } acc += curves[i]; tmp[i] = acc;if (acc >180 ) {dev_err (par->info->device, -"Illegal value(s) in Grayscale Lookup Table. " \ -"At index=%d, the accumulated value has exceeded 180\n" , i); +"Illegal value(s) in Grayscale Lookup Table. At index=%d, the accumulated value has exceeded 180\n" , i);return -EINVAL ; } }
Signature · 1 line
2.7.4