linux/drivers/mtd/spi-nor
Pan Bian b2b5c3aec8 mtd: spi-nor: hisi-sfc: Put child node np on error path
commit fe6653460ee7a7dbe0cd5fd322992af862ce5ab0 upstream.

Put the child node np when it fails to get or register device.

Fixes: e523f11141 ("mtd: spi-nor: add hisilicon spi-nor flash controller driver")
Cc: stable@vger.kernel.org
Signed-off-by: Pan Bian <bianpan2016@163.com>
[ta: Add Fixes tag and Cc stable]
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20210121091847.85362-1-bianpan2016@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-04 10:26:48 +01:00
..
Kconfig
Makefile
aspeed-smc.c
cadence-quadspi.c spi: cadence-quadspi: Abort read if dummy cycles required are too many 2021-03-04 10:26:27 +01:00
hisi-sfc.c mtd: spi-nor: hisi-sfc: Put child node np on error path 2021-03-04 10:26:48 +01:00
intel-spi-pci.c
intel-spi-platform.c
intel-spi.c
intel-spi.h
mtk-quadspi.c
nxp-spifi.c
spi-nor.c mtd: spi-nor: core: Add erase size check for erase command initialization 2021-03-04 10:26:48 +01:00