mtd: rawnand: arasan: stop using 0 as NULL pointer
authorGONG, Ruiqi <gongruiqi1@huawei.com>
Mon, 25 Jul 2022 11:21:07 +0000 (19:21 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 21 Sep 2022 08:38:46 +0000 (10:38 +0200)
commit37ea9f165ed4a437d6b3302e76e2e2ab0804b86c
treedbb8f994109745f806ebadaeed421603a201055f
parentd16da6d112367faeafa2b0d427d0ced7f1e92f36
mtd: rawnand: arasan: stop using 0 as NULL pointer

Fix the following sparse warnings:

drivers/mtd/nand/raw/arasan-nand-controller.c:918:70: warning: Using plain integer as NULL pointer
drivers/mtd/nand/raw/arasan-nand-controller.c:918:73: warning: Using plain integer as NULL pointer

Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220725112108.686347-1-gongruiqi1@huawei.com
drivers/mtd/nand/raw/arasan-nand-controller.c