diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-19 15:00:35 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-31 10:53:40 +0200 |
commit | 9630a055256de420d528ecde9f35902a9dcd8750 (patch) | |
tree | f760c21b20eea43a54d8882ca47ab5254174530b /include/linux/mtd/bbm.h | |
parent | 5724fa7f2e25a0f355063ba9271529fa00c32206 (diff) |
mtd: rawnand: Stop using nand_release()
This helper is not very useful and very often people get confused:
they use nand_release() instead of nand_cleanup().
Now that all drivers have been converted to do not use nand_release()
anymore, let's remove this helper.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/linux-mtd/20200519130035.1883-63-miquel.raynal@bootlin.com
Diffstat (limited to 'include/linux/mtd/bbm.h')
-rw-r--r-- | include/linux/mtd/bbm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/bbm.h b/include/linux/mtd/bbm.h index 886e30441c90..d890805f5494 100644 --- a/include/linux/mtd/bbm.h +++ b/include/linux/mtd/bbm.h @@ -98,7 +98,7 @@ struct nand_bbt_descr { /* * Flag set by nand_create_default_bbt_descr(), marking that the nand_bbt_descr - * was allocated dynamicaly and must be freed in nand_release(). Has no meaning + * was allocated dynamicaly and must be freed in nand_cleanup(). Has no meaning * in nand_chip.bbt_options. */ #define NAND_BBT_DYNAMICSTRUCT 0x80000000 |