From: Ezequiel Garcia Date: Mon, 3 Dec 2012 13:31:40 +0000 (-0300) Subject: mtd: nandsim: Introduce debugfs infrastructure X-Git-Tag: v3.8-rc1~47^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5346c27c5fed6b30aff35e1fcb595625097e646c;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed