Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1583539

[PATCH trivial 2/4] rtlwifi: rtl8821ae: Spelling s/wrtie_addr/write_addr/

From Geert Uytterhoeven <geert+renesas@glider.be>
Newsgroups linux.kernel
Subject [PATCH trivial 2/4] rtlwifi: rtl8821ae: Spelling s/wrtie_addr/write_addr/
Date 2017-02-17 16:40 +0100
Message-ID <tbSNA-63T-27@gated-at.bofh.it> (permalink)
References <tbSNz-63T-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


As per symmetry with _rtl8821ae_dbi_read(), "wrtie" is not a funky
register acronym, but a simple misspelling of "write".

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Chaoming Li <chaoming_li@realsil.com.cn>
Cc: netdev@vger.kernel.org
---
 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c
index 4f83eee1ff75bc81..546f085afb8f42fa 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c
@@ -1135,13 +1135,13 @@ static u8 _rtl8821ae_dbi_read(struct rtl_priv *rtlpriv, u16 addr)
 static void _rtl8821ae_dbi_write(struct rtl_priv *rtlpriv, u16 addr, u8 data)
 {
 	u8 tmp = 0, count = 0;
-	u16 wrtie_addr, remainder = addr % 4;
+	u16 write_addr, remainder = addr % 4;
 
-	wrtie_addr = REG_DBI_WDATA + remainder;
-	rtl_write_byte(rtlpriv, wrtie_addr, data);
+	write_addr = REG_DBI_WDATA + remainder;
+	rtl_write_byte(rtlpriv, write_addr, data);
 
-	wrtie_addr = (addr & 0xfffc) | (BIT(0) << (remainder + 12));
-	rtl_write_word(rtlpriv, REG_DBI_ADDR, wrtie_addr);
+	write_addr = (addr & 0xfffc) | (BIT(0) << (remainder + 12));
+	rtl_write_word(rtlpriv, REG_DBI_ADDR, write_addr);
 
 	rtl_write_byte(rtlpriv, REG_DBI_FLAG, 0x1);
 
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH trivial 1/4] HID: picoLCD: Spelling s/REPORT_WRTIE_MEMORY/REPORT_WRITE_MEMORY/ Geert Uytterhoeven <geert+renesas@glider.be> - 2017-02-17 16:40 +0100
  [PATCH trivial 4/4] PM / Documentation: Spelling s/wrtie/write/ Geert Uytterhoeven <geert+renesas@glider.be> - 2017-02-17 16:40 +0100
    Re: [PATCH trivial 4/4] PM / Documentation: Spelling s/wrtie/write/ "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-02-18 02:30 +0100
  [PATCH trivial 3/4] drm/amd: Spelling s/SDMA_WRTIE_SUB_OPCODE_TILED/SDMA_WRITE_SUB_OPCODE_TILED/ Geert Uytterhoeven <geert+renesas@glider.be> - 2017-02-17 16:40 +0100
    Re: [PATCH trivial 3/4] drm/amd: Spelling s/SDMA_WRTIE_SUB_OPCODE_TILED/SDMA_WRITE_SUB_OPCODE_TILED/ Alex Deucher <alexdeucher@gmail.com> - 2017-02-23 15:50 +0100
  [PATCH trivial 2/4] rtlwifi: rtl8821ae: Spelling s/wrtie_addr/write_addr/ Geert Uytterhoeven <geert+renesas@glider.be> - 2017-02-17 16:40 +0100
    Re: [PATCH trivial 2/4] rtlwifi: rtl8821ae: Spelling  s/wrtie_addr/write_addr/ Larry Finger <Larry.Finger@lwfinger.net> - 2017-02-17 17:20 +0100
      Re: [PATCH trivial 2/4] rtlwifi: rtl8821ae: Spelling s/wrtie_addr/write_addr/ Geert Uytterhoeven <geert@linux-m68k.org> - 2017-02-17 17:30 +0100
        Re: [PATCH trivial 2/4] rtlwifi: rtl8821ae: Spelling  s/wrtie_addr/write_addr/ Larry Finger <Larry.Finger@lwfinger.net> - 2017-02-17 17:50 +0100
  Re: [PATCH trivial 1/4] HID: picoLCD: Spelling  s/REPORT_WRTIE_MEMORY/REPORT_WRITE_MEMORY/ Bruno Prémont <bonbons@linux-vserver.org> - 2017-02-18 10:40 +0100

csiph-web