Skip to contentSkip to conversation

staging: fbtft: Add space around '='

PATCH New Helen Fornazier 1 participant 1 message Mar 25, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: fbtft: Add space around '='

This patch fixes the checkpatch.pl error:

ERROR: spaces required around that '=' (ctx:VxV)

+                       sdev->bits_per_word=9;
                                           ^
---
 drivers/staging/fbtft/flexfb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/fbtft/flexfb.c +1 -1
index 90832c3..ca39fe9 100644
@@ -423,7 +423,7 @@ static int flexfb_probe_common(struct spi_device *sdev, struct platform_device *
 			}
 			par->fbtftops.write_register = fbtft_write_reg8_bus9;
 			par->fbtftops.write_vmem = fbtft_write_vmem16_bus9;
-			sdev->bits_per_word=9;
+			sdev->bits_per_word = 9;
 			ret = sdev->master->setup(sdev);
 			if (ret) {
 				dev_warn(dev,
Signature · 1 line
1.9.1