Commit 058018eb authored by Miquel Raynal's avatar Miquel Raynal
Browse files

mtd: rawnand: nandsim: Fix the two ns_alloc_device() error paths



The ns_alloc_device() helper has actually two distinct path. Handle
errors in both of them.

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200525085851.17682-8-miquel.raynal@bootlin.com
parent cde495f8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment