Commit 3f8e5931 authored by Bhagyashri Dighole's avatar Bhagyashri Dighole Committed by Greg Kroah-Hartman

staging: fbtft: line over 80 characters

Fix the checkpatch.pl warning
WARNING: line over 80 characters
Signed-off-by: default avatarBhagyashri Dighole <digholebhagyashri@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 84c45d5f
...@@ -74,7 +74,8 @@ static void write_reg8_bus8(struct fbtft_par *par, int len, ...) ...@@ -74,7 +74,8 @@ static void write_reg8_bus8(struct fbtft_par *par, int len, ...)
for (i = 0; i < len; i++) for (i = 0; i < len; i++)
buf[i] = (u8)va_arg(args, unsigned int); buf[i] = (u8)va_arg(args, unsigned int);
va_end(args); va_end(args);
fbtft_par_dbg_hex(DEBUG_WRITE_REGISTER, par, par->info->device, u8, buf, len, "%s: ", __func__); fbtft_par_dbg_hex(DEBUG_WRITE_REGISTER, par, par->info->device,
u8, buf, len, "%s: ", __func__);
} }
va_start(args, len); va_start(args, len);
......
...@@ -671,7 +671,8 @@ static int flexfb_probe_common(struct spi_device *sdev, ...@@ -671,7 +671,8 @@ static int flexfb_probe_common(struct spi_device *sdev,
break; break;
case 9: case 9:
if (regwidth == 16) { if (regwidth == 16) {
dev_err(dev, "argument 'regwidth': %d is not supported with buswidth=%d and SPI.\n", regwidth, buswidth); dev_err(dev, "argument 'regwidth': %d is not supported with buswidth=%d and SPI.\n",
regwidth, buswidth);
return -EINVAL; return -EINVAL;
} }
par->fbtftops.write_register = fbtft_write_reg8_bus9; par->fbtftops.write_register = fbtft_write_reg8_bus9;
......
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