linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chaehyun Lim <chaehyun.lim@gmail.com>
To: gregkh@linuxfoundation.org
Cc: johnny.kim@atmel.com, rachel.kim@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 02/18] staging: wilc1000: rename WILC_WFI_WiphyRegister
Date: Sun, 20 Sep 2015 15:51:09 +0900	[thread overview]
Message-ID: <1442731885-4344-2-git-send-email-chaehyun.lim@gmail.com> (raw)
In-Reply-To: <1442731885-4344-1-git-send-email-chaehyun.lim@gmail.com>

This patch replaces WILC_WFI_WiphyRegister with wilc_create_wiphy to
avoid CamelCase.

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

diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index ed6044e..4534fb9 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -1883,7 +1883,7 @@ int wilc_netdev_init(void)
 		{
 			struct wireless_dev *wdev;
 			/*Register WiFi*/
-			wdev = WILC_WFI_WiphyRegister(ndev);
+			wdev = wilc_create_wiphy(ndev);
 
 			#ifdef WILC_SDIO
 			/* set netdev, tony */
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 239d0fc..e51745e 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -3519,7 +3519,7 @@ _fail_:
 
 }
 /**
- *  @brief      WILC_WFI_WiphyRegister
+ *  @brief      wilc_create_wiphy
  *  @details    Registering of the wiphy structure and interface modes
  *  @param[in]   NONE
  *  @return     NONE
@@ -3527,7 +3527,7 @@ _fail_:
  *  @date	01 MAR 2012
  *  @version	1.0
  */
-struct wireless_dev *WILC_WFI_WiphyRegister(struct net_device *net)
+struct wireless_dev *wilc_create_wiphy(struct net_device *net)
 {
 	struct wilc_priv *priv;
 	struct wireless_dev *wdev;
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h
index 67b8de3..579bf2b 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h
@@ -92,7 +92,7 @@ static const struct ieee80211_txrx_stypes
 #define WILC_WFI_DWELL_ACTIVE  40
 
 struct wireless_dev *WILC_WFI_CfgAlloc(void);
-struct wireless_dev *WILC_WFI_WiphyRegister(struct net_device *net);
+struct wireless_dev *wilc_create_wiphy(struct net_device *net);
 void wilc_free_wiphy(struct net_device *net);
 int WILC_WFI_update_stats(struct wiphy *wiphy, u32 pktlen, u8 changed);
 int WILC_WFI_DeInitHostInt(struct net_device *net);
-- 
2.5.1


  reply	other threads:[~2015-09-20  6:51 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-20  6:51 [PATCH 01/18] staging: wilc1000: rename WILC_WFI_WiphyFree Chaehyun Lim
2015-09-20  6:51 ` Chaehyun Lim [this message]
2015-09-20  6:51 ` [PATCH 03/18] staging: wilc1000: fix NULL comparison style Chaehyun Lim
2015-09-20  6:51 ` [PATCH 04/18] staging: wilc1000: remove blank line after an open brace '{' Chaehyun Lim
2015-09-20  6:51 ` [PATCH 05/18] staging: wilc1000: remove blank line before a close " Chaehyun Lim
2015-09-20  6:51 ` [PATCH 06/18] staging: wilc1000: replace PRINT_D with netdev_info Chaehyun Lim
2015-09-21  2:00   ` Greg KH
2015-09-20  6:51 ` [PATCH 07/18] staging: wilc1000: replaces PRINT_D with netdev_err Chaehyun Lim
2015-09-21  2:00   ` Greg KH
2015-09-20  6:51 ` [PATCH 08/18] staging: wilc1000: remove declaration of WILC_WFI_frame_register Chaehyun Lim
2015-09-21  2:01   ` Greg KH
2015-09-21  5:54     ` Tony Cho
2015-09-21  6:07       ` Greg KH
2015-09-21  6:20         ` Tony Cho
2015-09-21  6:50           ` Greg KH
2015-09-21  2:06   ` Greg KH
2015-09-20  6:51 ` [PATCH 09/18] staging: wilc1000: rename WILC_WFI_frame_register Chaehyun Lim
2015-09-20  6:51 ` [PATCH 10/18] staging: wilc1000: rename WILC_WFI_set_power_mgmt Chaehyun Lim
2015-09-21  2:03   ` Greg KH
2015-09-20  6:51 ` [PATCH 11/18] staging: wilc1000: rename WILC_WFI_set_cqm_rssi_config Chaehyun Lim
2015-09-21  6:52   ` Greg KH
2015-09-20  6:51 ` [PATCH 12/18] staging: wilc1000: remove useless comment Chaehyun Lim
2015-09-20  6:51 ` [PATCH 13/18] staging: wilc1000: wilc_msgqueue.c: replace s32RetStatus with result Chaehyun Lim
2015-09-20  6:51 ` [PATCH 14/18] staging: wilc1000: remove useless #if 1 Chaehyun Lim
2015-09-20  6:51 ` [PATCH 15/18] staging: wilc1000: remove braces for single statement blocks Chaehyun Lim
2015-09-20  6:51 ` [PATCH 16/18] staging: wilc1000: replace s32 with int Chaehyun Lim
2015-09-20  6:51 ` [PATCH 17/18] staging: wilc1000: rename WILC_WFI_DeInitHostInt Chaehyun Lim
2015-09-20  6:51 ` [PATCH 18/18] staging: wilc1000: rename WILC_WFI_InitHostInt 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=1442731885-4344-2-git-send-email-chaehyun.lim@gmail.com \
    --to=chaehyun.lim@gmail.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=rachel.kim@atmel.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).