diff options
author | Ezequiel Garcia <elezegarcia@gmail.com> | 2012-12-03 10:31:40 -0300 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-12-10 16:42:42 +0200 |
commit | 5346c27c5fed6b30aff35e1fcb595625097e646c (patch) | |
tree | c10264204d119f2ebee24ab858009302c3b6e2f9 /drivers/mtd/nand/orion_nand.c | |
parent | e58a66d84bceba314b03e37ec0764b9b1b9227d0 (diff) |
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/orion_nand.c')
0 files changed, 0 insertions, 0 deletions