diff options
author | Chris Park <chris.park@atmel.com> | 2016-02-22 13:12:08 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-22 11:47:00 -0800 |
commit | b331f1597238097a9af0249e72e2a23a6cc86d7e (patch) | |
tree | 3fa5b3bbd8db72edc6dd5ea7d4984f479a944920 /drivers/staging/wilc1000/wilc_debugfs.c | |
parent | d16a595b1da6c703723bbb1aeaf388e008eaaad4 (diff) | |
download | op-kernel-dev-b331f1597238097a9af0249e72e2a23a6cc86d7e.zip op-kernel-dev-b331f1597238097a9af0249e72e2a23a6cc86d7e.tar.gz |
staging: wilc1000: moves to define values
This patch moves DEBUG, INFO, WRN and ERR values to wilc_debugfs.c file
because this is only used to wilc_debugfs.c file.
And, removes unnecessary WILC_DEBUGFS and else-case variables.
Signed-off-by: Chris Park <chris.park@atmel.com>
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_debugfs.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_debugfs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/wilc1000/wilc_debugfs.c b/drivers/staging/wilc1000/wilc_debugfs.c index 215e2f0..fcbc95d 100644 --- a/drivers/staging/wilc1000/wilc_debugfs.c +++ b/drivers/staging/wilc1000/wilc_debugfs.c @@ -23,6 +23,10 @@ static struct dentry *wilc_dir; /* * -------------------------------------------------------------------------------- */ +#define DEBUG BIT(0) +#define INFO BIT(1) +#define WRN BIT(2) +#define ERR BIT(3) #define DBG_LEVEL_ALL (DEBUG | INFO | WRN | ERR) atomic_t WILC_DEBUG_LEVEL = ATOMIC_INIT(ERR); |