MLK-12153: mtd: fsl-quadspi: fix the QSPI dereference null return value found by...
authorHan Xu <han.xu@nxp.com>
Thu, 7 Jan 2016 19:21:02 +0000 (13:21 -0600)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:41 +0000 (14:49 -0500)
commit5596662ea46eba4d6cdb385f2047a082f49752d6
treef66e77db3dae2077b91a5b94f05ff80f08c95292
parente83029008f6b0daf4db914c92a873939147d4498
MLK-12153: mtd: fsl-quadspi: fix the QSPI dereference null return value found by coverity

check the return value to avoid the dereference null return value when
parsing device tree.

Signed-off-by: Han Xu <han.xu@nxp.com>
drivers/mtd/spi-nor/fsl-quadspi.c