aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/wl.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-08-27 10:14:58 -0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-09-04 02:39:02 -0400
commit719bb84017fcfc949a77e150dd5b045e90a4ebc9 (patch)
tree4092867a0fdbe2d82f69ce1a60402a36042175cc /drivers/mtd/ubi/wl.c
parente28453bbb76c290d67eb28b3ff6875a6519c3998 (diff)
UBI: print less
UBI currently prints a lot of information when it mounts a volume, which bothers some people. Make it less chatty - print only important information by default. Get rid of 'dbg_msg()' macro completely. Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/wl.c')
-rw-r--r--drivers/mtd/ubi/wl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c
index bd05276252fb..032fc57f1090 100644
--- a/drivers/mtd/ubi/wl.c
+++ b/drivers/mtd/ubi/wl.c
@@ -1201,7 +1201,7 @@ int ubi_wl_scrub_peb(struct ubi_device *ubi, int pnum)
1201{ 1201{
1202 struct ubi_wl_entry *e; 1202 struct ubi_wl_entry *e;
1203 1203
1204 dbg_msg("schedule PEB %d for scrubbing", pnum); 1204 ubi_msg("schedule PEB %d for scrubbing", pnum);
1205 1205
1206retry: 1206retry:
1207 spin_lock(&ubi->wl_lock); 1207 spin_lock(&ubi->wl_lock);