diff options
author | Mario Rugiero <mrugiero@gmail.com> | 2017-05-29 08:38:41 -0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2017-07-21 13:25:29 -0700 |
commit | e8e3edb95ce6a146bc774b6cfad3553f4383edc8 (patch) | |
tree | 53cc03ba5c33a3feb27ea46cfc61cc979dfe9651 /fs/mount.h | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) | |
download | linux-e8e3edb95ce6a146bc774b6cfad3553f4383edc8.tar.bz2 |
mtd: create per-device and module-scope debugfs entries
Several MTD devices are using debugfs entries created in the root.
This commit provides the means for a standardized subtree, creating
one "mtd" entry at root, and one entry per device inside it, named
after the device.
The tree is registered in add_mtd_device, and released in
del_mtd_device.
Devices docg3, mtdswap and nandsim were updated to use this subtree
instead of custom ones, and their entries were prefixed with the
drivers' names.
Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions