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

staging: fbtft: fbtft-bus: Fix checkpatch warning

Fix checkpatch.pl warning:
Block comments use * on subsequent lines
Block comments use a trailing */ on a separate line
Signed-off-by: default avatarAnson Jacob <ansonjacob.aj@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a4f368dc
...@@ -92,7 +92,8 @@ void fbtft_write_reg8_bus9(struct fbtft_par *par, int len, ...) ...@@ -92,7 +92,8 @@ void fbtft_write_reg8_bus9(struct fbtft_par *par, int len, ...)
if (par->spi && (par->spi->bits_per_word == 8)) { if (par->spi && (par->spi->bits_per_word == 8)) {
/* we're emulating 9-bit, pad start of buffer with no-ops /* 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; pad = (len % 4) ? 4 - (len % 4) : 0;
for (i = 0; i < pad; i++) for (i = 0; i < pad; i++)
*buf++ = 0x000; *buf++ = 0x000;
......
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