summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/mxc_nand.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2020-05-19 16:00:01 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-05-31 11:53:34 +0300
commit1fec333aadc2aec9293b7ec10d24e94f75a89b2e (patch)
treee61f32fb58f5a196427ed3ce4ba1674d8619d357 /drivers/mtd/nand/raw/mxc_nand.c
parent8a82bbcadec877f5f938c54026278dfc1f05a332 (diff)
downloadlinux-1fec333aadc2aec9293b7ec10d24e94f75a89b2e.tar.xz
mtd: rawnand: mtk: Stop using nand_release()
This helper is not very useful and very often people get confused: they use nand_release() instead of nand_cleanup(). Let's stop using nand_release() by calling mtd_device_unregister() and nand_cleanup() directly. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20200519130035.1883-29-miquel.raynal@bootlin.com
Diffstat (limited to 'drivers/mtd/nand/raw/mxc_nand.c')
0 files changed, 0 insertions, 0 deletions