diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-19 15:00:04 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-31 10:53:34 +0200 |
commit | a9384f95fe7767320842f8070b08ec865300c622 (patch) | |
tree | c65e18ecac9b852f066d1ad46fb0dcc0fa18d1d2 /drivers/mtd/nand/raw/omap2.c | |
parent | mtd: rawnand: mxic: Stop using nand_release() (diff) | |
download | linux-a9384f95fe7767320842f8070b08ec865300c622.tar.xz linux-a9384f95fe7767320842f8070b08ec865300c622.zip |
mtd: rawnand: ndfc: 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-32-miquel.raynal@bootlin.com
Diffstat (limited to 'drivers/mtd/nand/raw/omap2.c')
0 files changed, 0 insertions, 0 deletions