mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
mtd: spi-nor: hisi-sfc: Put child node np on error path
commitfe6653460eupstream. 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>
This commit is contained in:
parent
68ef24e86c
commit
df2d431a1e
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue