]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: nandsim: Remove debugfs entries at unload time
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 25 May 2020 08:58:40 +0000 (10:58 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 31 May 2020 08:53:37 +0000 (10:53 +0200)
commit76686dd6861045dc0b2b8ba82825d9acfe5a805d
tree26d667fad4a4f594a21565bee3e02e37e32a9960
parentfa96dd33fe321635bd9138a690b5834b594a65d5
mtd: rawnand: nandsim: Remove debugfs entries at unload time

Create a ns_debugfs_remove() helper for that and call it in
ns_cleanup_module().

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