diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-19 14:59:38 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-31 10:53:33 +0200 |
commit | 8b88f4e0a88b27caf1ca210533d167913745ccdd (patch) | |
tree | ece7943e436f33fafd02544773f2cfb5f0f4b99e /drivers/mtd/nand/raw/cafe_nand.c | |
parent | 937d039dfdcf3140fe081ce0f28a634555859744 (diff) |
mtd: rawnand: cadence: 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-6-miquel.raynal@bootlin.com
Diffstat (limited to 'drivers/mtd/nand/raw/cafe_nand.c')
0 files changed, 0 insertions, 0 deletions