Skip to contentSkip to conversation

rsi: fix spelling mistakes

PATCH In review Siva Rebbagondla 2 participants 2 messages Feb 12, 2019 – Feb 19, 2019 Redpine wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rsi: fix spelling mistakes

From: Siva Rebbagondla <[email protected]>

Trivial fixes to spelling mistakes in various files in rsi folder.

---
 drivers/net/wireless/rsi/rsi_91x_debugfs.c  | 8 ++++----
 drivers/net/wireless/rsi/rsi_91x_mac80211.c | 2 +-
 drivers/net/wireless/rsi/rsi_91x_mgmt.c     | 8 ++++----
 drivers/net/wireless/rsi/rsi_91x_sdio.c     | 4 ++--
 drivers/net/wireless/rsi/rsi_91x_usb.c      | 2 +-
 5 files changed, 12 insertions(+), 12 deletions(-)
drivers/net/wireless/rsi/rsi_91x_debugfs.c +4 -4
index d0c35f3..c71b41e 100644
@@ -59,7 +59,7 @@ static int rsi_sdio_stats_read(struct seq_file *seq, void *data)
 }
 
 /**
- * rsi_sdio_stats_open() - This funtion calls single open function of seq_file
+ * rsi_sdio_stats_open() - This function calls single open function of seq_file
  *			   to open file and read contents from it.
  * @inode: Pointer to the inode structure.
  * @file: Pointer to the file structure.
@@ -93,7 +93,7 @@ static int rsi_version_read(struct seq_file *seq, void *data)
 }
 
 /**
- * rsi_version_open() - This funtion calls single open function of seq_file to
+ * rsi_version_open() - This function calls single open function of seq_file to
  *			open file and read contents from it.
  * @inode: Pointer to the inode structure.
  * @file: Pointer to the file structure.
@@ -178,7 +178,7 @@ static int rsi_stats_read(struct seq_file *seq, void *data)
 }
 
 /**
- * rsi_stats_open() - This funtion calls single open function of seq_file to
+ * rsi_stats_open() - This function calls single open function of seq_file to
  *		      open file and read contents from it.
  * @inode: Pointer to the inode structure.
  * @file: Pointer to the file structure.
@@ -207,7 +207,7 @@ static int rsi_debug_zone_read(struct seq_file *seq, void *data)
 }
 
 /**
- * rsi_debug_read() - This funtion calls single open function of seq_file to
+ * rsi_debug_read() - This function calls single open function of seq_file to
  *		      open file and read contents from it.
  * @inode: Pointer to the inode structure.
  * @file: Pointer to the file structure.
drivers/net/wireless/rsi/rsi_91x_mac80211.c +1 -1
index aded1ae..6584f51 100644
@@ -1332,7 +1332,7 @@ static void rsi_fill_rx_status(struct ieee80211_hw *hw,
 }
 
 /**
- * rsi_indicate_pkt_to_os() - This function sends recieved packet to mac80211.
+ * rsi_indicate_pkt_to_os() - This function sends received packet to mac80211.
  * @common: Pointer to the driver private structure.
  * @skb: Pointer to the socket buffer structure.
  *
drivers/net/wireless/rsi/rsi_91x_mgmt.c +4 -4
index 4042414..a77f0a8 100644
@@ -409,8 +409,8 @@ static int rsi_load_radio_caps(struct rsi_common *common)
  * rsi_mgmt_pkt_to_core() - This function is the entry point for Mgmt module.
  * @common: Pointer to the driver private structure.
  * @msg: Pointer to received packet.
- * @msg_len: Length of the recieved packet.
- * @type: Type of recieved packet.
+ * @msg_len: Length of the received packet.
+ * @type: Type of received packet.
  *
  * Return: 0 on success, -1 on failure.
  */
@@ -1547,7 +1547,7 @@ int rsi_send_ps_request(struct rsi_hw *adapter, bool enable,
 }
 
 /**
- * rsi_set_antenna() - This fuction send antenna configuration request
+ * rsi_set_antenna() - This function send antenna configuration request
  *		       to device
  *
  * @common: Pointer to the driver private structure.
@@ -1955,7 +1955,7 @@ int rsi_handle_card_ready(struct rsi_common *common, u8 *msg)
 
 /**
  * rsi_mgmt_pkt_recv() - This function processes the management packets
- *			 recieved from the hardware.
+ *			 received from the hardware.
  * @common: Pointer to the driver private structure.
  * @msg: Pointer to the received packet.
  *
drivers/net/wireless/rsi/rsi_91x_sdio.c +2 -2
index b412b65e..aa9d67d 100644
@@ -138,7 +138,7 @@ static int rsi_issue_sdiocommand(struct sdio_func *func,
 }
 
 /**
- * rsi_handle_interrupt() - This function is called upon the occurence
+ * rsi_handle_interrupt() - This function is called upon the occurrence
  *			    of an interrupt.
  * @function: Pointer to the sdio_func structure.
  *
@@ -875,7 +875,7 @@ static int rsi_init_sdio_interface(struct rsi_hw *adapter,
 		goto fail;
 	}
 
-	rsi_dbg(INIT_ZONE, "%s: Setup card succesfully\n", __func__);
+	rsi_dbg(INIT_ZONE, "%s: Setup card successfully\n", __func__);
 
 	status = rsi_init_sdio_slave_regs(adapter);
 	if (status) {
drivers/net/wireless/rsi/rsi_91x_usb.c +1 -1
index f360690..5b82d29 100644
@@ -252,7 +252,7 @@ static int rsi_usb_reg_write(struct usb_device *usbdev,
 
 /**
  * rsi_rx_done_handler() - This function is called when a packet is received
- *			   from USB stack. This is callback to recieve done.
+ *			   from USB stack. This is callback to receive done.
  * @urb: Received URB.
  *
  * Return: None.
Signature · 1 line
2.5.5
#1 lore raw
Quoted 5 lines · Siva Rebbagondla

From: Siva Rebbagondla <[email protected]>

Trivial fixes to spelling mistakes in various files in rsi folder.

Patch applied to wireless-drivers-next.git, thanks.

b9c767fdde61 rsi: fix spelling mistakes

Signature · 3 lines
https://patchwork.kernel.org/patch/10807785/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches