mtd: rawnand: nandsim: Fix the label pointing on nand_cleanup()
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 25 May 2020 08:58:48 +0000 (10:58 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 31 May 2020 08:53:38 +0000 (10:53 +0200)
commitdc2733dea2be78e03df1fbb5816b59d852b2291c
treef0fbaddbd5aaae40e147acbc76b3012670cc58f1
parent5dcb5164b20eaa178dcea9572c8b0dccabef7a25
mtd: rawnand: nandsim: Fix the label pointing on nand_cleanup()

Drop the generic err_exit.

The remaining operation to do from this goto statement is to cleanup
the NAND allocations, so rename it.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200525085851.17682-15-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/nandsim.c