Searched hist:"9 fdd78f7bcda3e6a9f53c355529b3bf037c0e24f" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | xway_nand.c | diff 9fdd78f7bcda3e6a9f53c355529b3bf037c0e24f Tue May 19 08:00:34 CDT 2020 Miquel Raynal <miquel.raynal@bootlin.com> mtd: rawnand: xway: 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-62-miquel.raynal@bootlin.com
|