Skip to content
Commit fe665346 authored by Pan Bian's avatar Pan Bian Committed by Tudor Ambarus
Browse files

mtd: spi-nor: hisi-sfc: Put child node np on error path



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

Fixes: e523f111 ("mtd: spi-nor: add hisilicon spi-nor flash controller driver")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
[ta: Add Fixes tag and Cc stable]
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20210121091847.85362-1-bianpan2016@163.com
parent d5802468
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment