All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chaehyun Lim <chaehyun.lim@gmail.com>
To: gregkh@linuxfoundation.org
Cc: johnny.kim@atmel.com, austin.shin@atmel.com,
	chris.park@atmel.com, tony.cho@atmel.com, glen.lee@atmel.com,
	leo.kim@atmel.com, linux-wireless@vger.kernel.org,
	devel@driverdev.osuosl.org, Chaehyun Lim <chaehyun.lim@gmail.com>
Subject: [PATCH 09/13] staging: wilc1000: rename pvUserArg in wilc_scan
Date: Tue,  5 Jan 2016 23:06:53 +0900	[thread overview]
Message-ID: <1452002817-30937-9-git-send-email-chaehyun.lim@gmail.com> (raw)
In-Reply-To: <1452002817-30937-1-git-send-email-chaehyun.lim@gmail.com>

This patch renames pvUserArg to user_arg to avoid camelcase.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
 drivers/staging/wilc1000/host_interface.c | 4 ++--
 drivers/staging/wilc1000/host_interface.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index a1e9052..1e27431 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -3674,7 +3674,7 @@ int wilc_get_statistics(struct wilc_vif *vif, struct rf_info *stats)
 
 int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 scan_type,
 	      u8 *ch_freq_list, u8 ch_list_len, const u8 *ies,
-	      size_t ies_len, wilc_scan_result scan_result, void *pvUserArg,
+	      size_t ies_len, wilc_scan_result scan_result, void *user_arg,
 	      struct hidden_network *pstrHiddenNetwork)
 {
 	int result = 0;
@@ -3701,7 +3701,7 @@ int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 scan_type,
 	msg.body.scan_info.src = scan_source;
 	msg.body.scan_info.type = scan_type;
 	msg.body.scan_info.result = scan_result;
-	msg.body.scan_info.arg = pvUserArg;
+	msg.body.scan_info.arg = user_arg;
 
 	msg.body.scan_info.ch_list_len = ch_list_len;
 	msg.body.scan_info.ch_freq_list = kmalloc(ch_list_len, GFP_KERNEL);
diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h
index fd9f21739..693a3f5 100644
--- a/drivers/staging/wilc1000/host_interface.h
+++ b/drivers/staging/wilc1000/host_interface.h
@@ -337,7 +337,7 @@ int wilc_set_mac_chnl_num(struct wilc_vif *vif, u8 channel);
 int wilc_get_rssi(struct wilc_vif *vif, s8 *rssi_level);
 int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 scan_type,
 	      u8 *ch_freq_list, u8 ch_list_len, const u8 *ies,
-	      size_t ies_len, wilc_scan_result scan_result, void *pvUserArg,
+	      size_t ies_len, wilc_scan_result scan_result, void *user_arg,
 	      struct hidden_network *pstrHiddenNetwork);
 int wilc_hif_set_cfg(struct wilc_vif *vif,
 		     struct cfg_param_val *cfg_param);
-- 
2.6.4


  parent reply	other threads:[~2016-01-05 14:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-05 14:06 [PATCH 01/13] staging: wilc1000: fix return type of wilc_scan Chaehyun Lim
2016-01-05 14:06 ` [PATCH 02/13] staging: wilc1000: rename u8ScanSource in wilc_scan Chaehyun Lim
2016-01-05 14:06 ` [PATCH 03/13] staging: wilc1000: rename u8ScanType " Chaehyun Lim
2016-01-05 14:06 ` [PATCH 04/13] staging: wilc1000: rename pu8ChnlFreqList " Chaehyun Lim
2016-01-05 14:06 ` [PATCH 05/13] staging: wilc1000: rename u8ChnlListLen " Chaehyun Lim
2016-01-05 14:06 ` [PATCH 06/13] staging: wilc1000: rename pu8IEs " Chaehyun Lim
2016-01-05 14:06 ` [PATCH 07/13] staging: wilc1000: rename IEsLen " Chaehyun Lim
2016-01-05 14:06 ` [PATCH 08/13] staging: wilc1000: rename ScanResult " Chaehyun Lim
2016-01-05 14:06 ` Chaehyun Lim [this message]
2016-01-05 14:06 ` [PATCH 10/13] staging: wilc1000: rename pstrHiddenNetwork " Chaehyun Lim
2016-01-05 14:06 ` [PATCH 11/13] staging: wilc1000: use kmemdup instead of kmalloc/memcpy Chaehyun Lim
2016-01-05 14:06 ` [PATCH 12/13] staging: wilc1000: rename phWFIDrv in wilc_init declaration Chaehyun Lim
2016-01-05 14:06 ` [PATCH 13/13] staging: wilc1000: fix return type of wilc_init Chaehyun Lim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1452002817-30937-9-git-send-email-chaehyun.lim@gmail.com \
    --to=chaehyun.lim@gmail.com \
    --cc=austin.shin@atmel.com \
    --cc=chris.park@atmel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=glen.lee@atmel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=johnny.kim@atmel.com \
    --cc=leo.kim@atmel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=tony.cho@atmel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.