aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/debug.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-05-17 15:46:01 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-05-20 08:30:34 +0300
commitab50ff684707031ed4bad2fdd313208ae392e5bb (patch)
tree8e16e8f0c858a2b3dde789aafd3a98167cf0193b /drivers/mtd/ubi/debug.c
parentebfce01a6dfa2bd30a16efdeb417862ea0355d3b (diff)
downloadkernel_samsung_smdk4412-ab50ff684707031ed4bad2fdd313208ae392e5bb.tar.gz
kernel_samsung_smdk4412-ab50ff684707031ed4bad2fdd313208ae392e5bb.tar.bz2
kernel_samsung_smdk4412-ab50ff684707031ed4bad2fdd313208ae392e5bb.zip
UBI: switch to dynamic printks
Remove custom dynamic prints and the module parameter to toggle them and use the generic kernel dynamic printk infrastructure. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/debug.c')
-rw-r--r--drivers/mtd/ubi/debug.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/debug.c b/drivers/mtd/ubi/debug.c
index 0cd5beabe9c..2224cbe41dd 100644
--- a/drivers/mtd/ubi/debug.c
+++ b/drivers/mtd/ubi/debug.c
@@ -30,15 +30,12 @@
#include <linux/module.h>
#include <linux/moduleparam.h>
-unsigned int ubi_msg_flags;
unsigned int ubi_chk_flags;
unsigned int ubi_tst_flags;
-module_param_named(debug_msgs, ubi_msg_flags, uint, S_IRUGO | S_IWUSR);
module_param_named(debug_chks, ubi_chk_flags, uint, S_IRUGO | S_IWUSR);
module_param_named(debug_tsts, ubi_chk_flags, uint, S_IRUGO | S_IWUSR);
-MODULE_PARM_DESC(debug_msgs, "Debug message type flags");
MODULE_PARM_DESC(debug_chks, "Debug check flags");
MODULE_PARM_DESC(debug_tsts, "Debug special test flags");