Home
last modified time | relevance | path

Searched hist:"0 a2bc9919cf74e3436644cee88490bfd379127a1" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mtd/nand/raw/
H A Dqcom_nandc.c0a2bc9919cf74e3436644cee88490bfd379127a1 Tue May 19 13:00:17 UTC 2020 Miquel Raynal <miquel.raynal@bootlin.com> mtd: rawnand: qcom: 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-45-miquel.raynal@bootlin.com