Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Commit

Permalink
staging: fbtft: fbtft-bus: Fix checkpatch warning
Browse files Browse the repository at this point in the history
Fix checkpatch.pl warning:
Block comments use * on subsequent lines
Block comments use a trailing */ on a separate line

Signed-off-by: Anson Jacob <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
DextersHub authored and gregkh committed Sep 1, 2016
1 parent a4f368d commit b2ac4a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/fbtft/fbtft-bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ void fbtft_write_reg8_bus9(struct fbtft_par *par, int len, ...)

if (par->spi && (par->spi->bits_per_word == 8)) {
/* we're emulating 9-bit, pad start of buffer with no-ops
(assuming here that zero is a no-op) */
* (assuming here that zero is a no-op)
*/
pad = (len % 4) ? 4 - (len % 4) : 0;
for (i = 0; i < pad; i++)
*buf++ = 0x000;
Expand Down

0 comments on commit b2ac4a9

Please sign in to comment.