diff options
author | Mario Rugiero <mrugiero@gmail.com> | 2017-05-29 13:38:41 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2017-07-21 22:25:29 +0200 |
commit | e8e3edb95ce6a146bc774b6cfad3553f4383edc8 (patch) | |
tree | 53cc03ba5c33a3feb27ea46cfc61cc979dfe9651 /drivers/media/dvb-frontends/ec100.c | |
parent | Linux v4.13-rc1 (diff) | |
download | linux-e8e3edb95ce6a146bc774b6cfad3553f4383edc8.tar.xz linux-e8e3edb95ce6a146bc774b6cfad3553f4383edc8.zip |
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 'drivers/media/dvb-frontends/ec100.c')
0 files changed, 0 insertions, 0 deletions