[PATCH v3 02/10] staging: fbtft: put spaces around assignment operators

Anton Gerasimov anton.gerasimov at openmailbox.org
Sat Jun 13 19:23:48 UTC 2015


Put spaces around assignment operators for readability.

Signed-off-by: Anton Gerasimov <anton.gerasimov at openmailbox.org>
---
 drivers/staging/fbtft/flexfb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/fbtft/flexfb.c b/drivers/staging/fbtft/flexfb.c
index 5c813fc..3c76774 100644
--- a/drivers/staging/fbtft/flexfb.c
+++ b/drivers/staging/fbtft/flexfb.c
@@ -242,8 +242,8 @@ static int flexfb_verify_gpios_db(struct fbtft_par *par)
 		return -EINVAL;
 	}
 	if (latched)
-		num_db=buswidth/2;
-	for (i=0;i < num_db;i++) {
+		num_db = buswidth/2;
+	for (i = 0; i < num_db; i++) {
 		if (par->gpio.db[i] < 0) {
 			dev_err(par->info->device,
 				"Missing info about 'db%02d' gpio. Aborting.\n",
-- 
1.8.4.5



More information about the devel mailing list