Skip to contentSkip to conversation

staging: fbtft: fb_tinylcd: fix alignment in write_reg call

PATCH In review Prasaanth 2 participants 3 messages Apr 17

Subsystems (3)
lore
Share & tools
lore

Prasaanth

author
#0 lore raw

PATCH 1/1 staging: fbtft: fb_tinylcd: fix alignment in write_reg call

Fix alignment of multiline arguments in write_reg() call to match kernel coding style

Reported by checkpatch.pl

---
 drivers/staging/fbtft/fb_tinylcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/fbtft/fb_tinylcd.c +1 -1
index 9469248f2..60cda57bc 100644
@@ -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);
Signature · 1 line
2.53.0
#1 lore raw
Quoted 4 lines · Prasaanth

Fix alignment of multiline arguments in write_reg() call to match kernel coding style

Reported by checkpatch.pl

NAK. Use a common sense.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#2 lore raw

Thanks for the feedback, I understand.

I’ll look for more meaningful issues to work on.

Quoted 14 lines · Andy Shevchenko
Quoted 4 lines · Prasaanth

Fix alignment of multiline arguments in write_reg() call to match kernel coding style

Reported by checkpatch.pl

NAK. Use a common sense.

--
With Best Regards,
Andy Shevchenko