[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180324101727.GA748@seema-Inspiron-15-3567>
Date: Sat, 24 Mar 2018 15:47:27 +0530
From: Arushi Singhal <arushisinghal19971997@...il.com>
To: boris.brezillon@...e-electrons.com
Cc: Richard Weinberger <richard@....at>,
David Woodhouse <dwmw2@...radead.org>,
Brian Norris <computersforpeace@...il.com>,
Marek Vasut <marek.vasut@...il.com>,
Cyrille Pitchen <cyrille.pitchen@...ev4u.fr>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH] mtd: nand: do not initialise statics to 0 or NULL
This patch fixes the checkpatch.pl error to ams-delta.c.
ERROR: do not initialise statics to 0 or NULL
Signed-off-by: Arushi Singhal <arushisinghal19971997@...il.com>
---
drivers/mtd/nand/ams-delta.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/ams-delta.c b/drivers/mtd/nand/ams-delta.c
index 6e7f6e0..8e89452 100644
--- a/drivers/mtd/nand/ams-delta.c
+++ b/drivers/mtd/nand/ams-delta.c
@@ -35,7 +35,7 @@
/*
* MTD structure for E3 (Delta)
*/
-static struct mtd_info *ams_delta_mtd = NULL;
+static struct mtd_info *ams_delta_mtd;
/*
* Define partitions for flash devices
--
2.7.4
Powered by blists - more mailing lists