[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9e8454a8-41aa-9afc-e2b9-c1824028f91f@users.sourceforge.net>
Date: Fri, 5 Jan 2018 21:31:30 +0100
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: linux-mtd@...ts.infradead.org,
Boris Brezillon <boris.brezillon@...e-electrons.com>,
Brian Norris <computersforpeace@...il.com>,
Cyrille Pitchen <cyrille.pitchen@...ev4u.fr>,
David Woodhouse <dwmw2@...radead.org>,
Marek Vasut <marek.vasut@...il.com>,
Richard Weinberger <richard@....at>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: [PATCH 3/3] mtd/nand/ams-delta: Add some spaces for better code
readability
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Fri, 5 Jan 2018 21:14:20 +0100
Use space characters at some source code places according to
the Linux coding style convention.
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
drivers/mtd/nand/ams-delta.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/ams-delta.c b/drivers/mtd/nand/ams-delta.c
index 4f5fc104c510..9ea61271fee6 100644
--- a/drivers/mtd/nand/ams-delta.c
+++ b/drivers/mtd/nand/ams-delta.c
@@ -94,7 +94,7 @@ static void ams_delta_write_buf(struct mtd_info *mtd, const u_char *buf,
{
int i;
- for (i=0; i<len; i++)
+ for (i = 0; i < len; i++)
ams_delta_write_byte(mtd, buf[i]);
}
@@ -102,7 +102,7 @@ static void ams_delta_read_buf(struct mtd_info *mtd, u_char *buf, int len)
{
int i;
- for (i=0; i<len; i++)
+ for (i = 0; i < len; i++)
buf[i] = ams_delta_read_byte(mtd);
}
--
2.15.1
Powered by blists - more mailing lists