diff options
author | Zhaoyang Liu <liuzy@marvell.com> | 2015-05-12 00:48:20 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-05-26 13:50:42 +0300 |
commit | acebe8c10a6eabdb9c34370a774b5b3fcbae3ff4 (patch) | |
tree | 179cda22ce445d4ea96dbcafdbde46b4fa751854 /drivers/net/wireless/mwifiex/debugfs.c | |
parent | 868093a9df7580d6d50639d58f2c6e334dd73622 (diff) | |
download | op-kernel-dev-acebe8c10a6eabdb9c34370a774b5b3fcbae3ff4.zip op-kernel-dev-acebe8c10a6eabdb9c34370a774b5b3fcbae3ff4.tar.gz |
mwifiex: change dbg print func to mwifiex_dbg
This patch changes all debug print functions from dev_dbg/dev_err/dev_info
to mwifiex specific debug functions.
Signed-off-by: Zhaoyang Liu <liuzy@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mwifiex/debugfs.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/debugfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/debugfs.c b/drivers/net/wireless/mwifiex/debugfs.c index f3e19e9..8895906 100644 --- a/drivers/net/wireless/mwifiex/debugfs.c +++ b/drivers/net/wireless/mwifiex/debugfs.c @@ -792,7 +792,8 @@ mwifiex_hscfg_write(struct file *file, const char __user *ubuf, memset(&hscfg, 0, sizeof(struct mwifiex_ds_hs_cfg)); if (arg_num > 3) { - dev_err(priv->adapter->dev, "Too many arguments\n"); + mwifiex_dbg(priv->adapter, ERROR, + "Too many arguments\n"); ret = -EINVAL; goto done; } |