diff options
author | Richard Weinberger <richard@nod.at> | 2016-09-21 11:44:41 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-09-23 09:35:16 +0200 |
commit | d44154f969a44269a9288c274c1c2fd9e85df8a5 (patch) | |
tree | e7988379fcd6d1a917db7139f11f4bac95fc46f9 /drivers/mtd/nand/ndfc.c | |
parent | a9843193ce00b7f83432abe0815d03ffbeaf6ecf (diff) | |
download | op-kernel-dev-d44154f969a44269a9288c274c1c2fd9e85df8a5.zip op-kernel-dev-d44154f969a44269a9288c274c1c2fd9e85df8a5.tar.gz |
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: Richard Weinberger <richard@nod.at>
Signed-off-by: Daniel Walter <dwalter@sigma-star.at>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand/ndfc.c')
0 files changed, 0 insertions, 0 deletions