mtd: rawnand: Stop using nand_release()
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 19 May 2020 13:00:35 +0000 (15:00 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 31 May 2020 08:53:40 +0000 (10:53 +0200)
commit9630a055256de420d528ecde9f35902a9dcd8750
treef760c21b20eea43a54d8882ca47ab5254174530b
parent5724fa7f2e25a0f355063ba9271529fa00c32206
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
Documentation/driver-api/mtdnand.rst
drivers/mtd/nand/raw/nand_base.c
include/linux/mtd/bbm.h
include/linux/mtd/rawnand.h