diff options
author | Ezequiel Garcia <elezegarcia@gmail.com> | 2012-12-03 14:31:40 +0100 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-12-10 15:42:42 +0100 |
commit | 5346c27c5fed6b30aff35e1fcb595625097e646c (patch) | |
tree | c10264204d119f2ebee24ab858009302c3b6e2f9 /drivers/mtd/nand/mxc_nand.c | |
parent | mtd: physmap_of: error checking to prevent a NULL pointer dereference (diff) | |
download | linux-5346c27c5fed6b30aff35e1fcb595625097e646c.tar.xz linux-5346c27c5fed6b30aff35e1fcb595625097e646c.zip |
mtd: nandsim: Introduce debugfs infrastructure
It's more user friendly to report debug information and statistics
through debugfs, than to use printing facilites.
This patch introduces a very minimal debugfs infrastructure
and moves eraseblock wear report to an entry located at:
/sys/kernel/debug/nandsim/wear_report
This means we can remove rptwear option and just let
the user get the wear report when we needs to.
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/nand/mxc_nand.c')
0 files changed, 0 insertions, 0 deletions