diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2022-02-25 16:46:56 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-03-14 17:01:58 +0100 |
commit | ec090a0392ff634e9304c19a8578d476a9e0c830 (patch) | |
tree | c7d06b2b0a72f27805a136803609038c32b036cc /include/linux/mtd | |
parent | d9a16830e10eafde6f0bce91047bb869c44425ab (diff) | |
download | linux-stable-ec090a0392ff634e9304c19a8578d476a9e0c830.tar.gz linux-stable-ec090a0392ff634e9304c19a8578d476a9e0c830.tar.bz2 linux-stable-ec090a0392ff634e9304c19a8578d476a9e0c830.zip |
mtd: core: Remove partid and partname debugfs files
partid and partname debugfs files were used just by SPI NOR, but they were
replaced by sysfs entries. Since these debugfs files are no longer used in
mtd, remove dead code. The directory is kept as it is used by nandsim,
mtdswap and docg3.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220225144656.634682-1-tudor.ambarus@microchip.com
Diffstat (limited to 'include/linux/mtd')
-rw-r--r-- | include/linux/mtd/mtd.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index 1b3fc8c71ab3..151607e9d64a 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -188,9 +188,6 @@ struct module; /* only needed for owner field in mtd_info */ */ struct mtd_debug_info { struct dentry *dfs_dir; - - const char *partname; - const char *partid; }; /** |