Skip to content
Commit d44154f9 authored by Richard Weinberger's avatar Richard Weinberger Committed by Boris Brezillon
Browse files

mtd: nand: Provide nand_cleanup() function to free NAND related resources



Provide a nand_cleanup() function to free all nand related resources
without unregistering the mtd device.
This should allow drivers to call mtd_device_unregister() and handle
its return value and still being able to cleanup all nand related
resources.

Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarDaniel Walter <dwalter@sigma-star.at>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent a9843193
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