]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: nandsim: Keep track of the created debugfs entries
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 25 May 2020 08:58:39 +0000 (10:58 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 31 May 2020 08:53:37 +0000 (10:53 +0200)
commit5b59c52d12d5b3255a023fe1ee4b02a8deaa453c
treedbff671d9bfed529387d4667d18f3b3b38d9db79
parenta31e3e9342a7223a4711d80422468d72ca5ba130
mtd: rawnand: nandsim: Keep track of the created debugfs entries

Debugfs entries should be removed in the error path, so first, keep
track of them.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200525085851.17682-6-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/nandsim.c