All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd: nand: do not initialise statics to 0 or NULL
@ 2018-03-24 10:17 Arushi Singhal
  2018-05-03  9:55 ` Boris Brezillon
  0 siblings, 1 reply; 2+ messages in thread
From: Arushi Singhal @ 2018-03-24 10:17 UTC (permalink / raw)
  To: boris.brezillon
  Cc: Richard Weinberger, David Woodhouse, Brian Norris, Marek Vasut,
	Cyrille Pitchen, linux-mtd, linux-kernel

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@gmail.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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-03  9:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-24 10:17 [PATCH] mtd: nand: do not initialise statics to 0 or NULL Arushi Singhal
2018-05-03  9:55 ` Boris Brezillon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.