Skip to content
Commit 0823e162 authored by Miquel Raynal's avatar Miquel Raynal Committed by Paul Gortmaker
Browse files

mtd: rawnand: oxnas: Keep track of registered devices



commit 383fc3f6 upstream.

All initialized and registered devices should be listed somewhere so
that we can unregister/free them in the _remove() path.

This patch is not a fix per-se but is needed to apply three other
fixes coming right after, explaining the Fixes/Cc: stable tags.

Fixes: 66859249 ("mtd: nand: Add OX820 NAND Support")
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200519130035.1883-36-miquel.raynal@bootlin.com


Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 60d3b4c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment