scripts/spelling.txt: add "swith" pattern and fix typo instances
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 27 Feb 2017 22:28:41 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Feb 2017 02:43:46 +0000 (18:43 -0800)
Fix typos and add the following to the scripts/spelling.txt:

  swith||switch
  swithable||switchable
  swithed||switched
  swithing||switching

While we are here, fix the "update" to "updates" in the touched hunk in
drivers/net/wireless/marvell/mwifiex/wmm.c.

Link: http://lkml.kernel.org/r/1481573103-11329-2-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 files changed:
Documentation/devicetree/bindings/mfd/qcom-rpm.txt
Documentation/devicetree/bindings/power/pd-samsung.txt
arch/arm/boot/compressed/head.S
arch/arm/mm/cache-v7.S
arch/arm/mm/cache-v7m.S
arch/sh/kernel/irq.c
arch/sparc/include/asm/switch_to_32.h
drivers/gpu/drm/amd/include/atombios.h
drivers/gpu/drm/radeon/atombios.h
drivers/isdn/mISDN/dsp_core.c
drivers/net/usb/kalmia.c
drivers/net/wireless/marvell/mwifiex/wmm.c
net/mac80211/mesh.c
scripts/recordmcount.pl
scripts/spelling.txt
sound/pci/ac97/ac97_patch.c

index 485bc59fcc4876a5fe974181edf62c0fed65df2c..3c91ad430eea3fcc0b725a3e5fc591027d5cfe46 100644 (file)
@@ -234,7 +234,7 @@ see regulator.txt - with additional custom properties described below:
 - qcom,switch-mode-frequency:
        Usage: required
        Value type: <u32>
-       Definition: Frequency (Hz) of the swith mode power supply;
+       Definition: Frequency (Hz) of the switch mode power supply;
                    must be one of:
                    19200000, 9600000, 6400000, 4800000, 3840000, 3200000,
                    2740000, 2400000, 2130000, 1920000, 1750000, 1600000,
index 7eb9674e968740cf2a98e24c05784803ebfc70a5..549f7dee9b9de0b33f851ab1bb34008ab9d1a51a 100644 (file)
@@ -23,7 +23,7 @@ Optional Properties:
 - clock-names: The following clocks can be specified:
        - oscclk: Oscillator clock.
        - clkN: Input clocks to the devices in this power domain. These clocks
-               will be reparented to oscclk before swithing power domain off.
+               will be reparented to oscclk before switching power domain off.
                Their original parent will be brought back after turning on
                the domain. Maximum of 4 clocks (N = 0 to 3) are supported.
        - asbN: Clocks required by asynchronous bridges (ASB) present in
index fc6d541549a2c53b38b3f64ce48eebabebba9a0f..9150f9732785aaec77d069f8d92ba6d65e941e2c 100644 (file)
@@ -1196,7 +1196,7 @@ skip:
                bgt     loop1
 finished:
                ldmfd   sp!, {r0-r7, r9-r11}
-               mov     r10, #0                 @ swith back to cache level 0
+               mov     r10, #0                 @ switch back to cache level 0
                mcr     p15, 2, r10, c0, c0, 0  @ select current cache level in cssr
 iflush:
                mcr     p15, 0, r10, c7, c10, 4 @ DSB
index a134d8a13d001ee8ad4b1084c9a71c1dc9f8d832..de78109d002db1a5e7c94a6c1bc8bb94161d07b8 100644 (file)
@@ -164,7 +164,7 @@ skip:
        cmp     r3, r10
        bgt     flush_levels
 finished:
-       mov     r10, #0                         @ swith back to cache level 0
+       mov     r10, #0                         @ switch back to cache level 0
        mcr     p15, 2, r10, c0, c0, 0          @ select current cache level in cssr
        dsb     st
        isb
index 816a7e44e6f12c4337340454cdd47a902d9a4b76..788486e830d3e644bbf4c608af6c75e64b5bb84a 100644 (file)
@@ -217,7 +217,7 @@ skip:
        cmp     r3, r10
        bgt     flush_levels
 finished:
-       mov     r10, #0                         @ swith back to cache level 0
+       mov     r10, #0                         @ switch back to cache level 0
        write_csselr r10, r3                    @ select current cache level in cssr
        dsb     st
        isb
index bc3591125df7a51a43140e743160b6ee8a040dfb..04487e8fc9b12ef08383c88051a307329e241173 100644 (file)
@@ -99,7 +99,7 @@ static inline void handle_one_irq(unsigned int irq)
                        "mov    %0, r4          \n"
                        "mov    r15, r8         \n"
                        "jsr    @%1             \n"
-                       /* swith to the irq stack */
+                       /* switch to the irq stack */
                        " mov   %2, r15         \n"
                        /* restore the stack (ring zero) */
                        "mov    r8, r15         \n"
index 16f10374feb32b1468ec092e7d9cf180ef788cda..475dd4158ae4f6c2c295d1b42c172905196eef5b 100644 (file)
@@ -9,7 +9,7 @@ extern struct thread_info *current_set[NR_CPUS];
  * Flush windows so that the VM switch which follows
  * would not pull the stack from under us.
  *
- * SWITCH_ENTER and SWITH_DO_LAZY_FPU do not work yet (e.g. SMP does not work)
+ * SWITCH_ENTER and SWITCH_DO_LAZY_FPU do not work yet (e.g. SMP does not work)
  * XXX WTF is the above comment? Found in late teen 2.4.x.
  */
 #ifdef CONFIG_SMP
index 4a4d3797a6d31e4fbac2283d857a0f21c965698d..9f970b5c717109b6e3ce3eb1623b6797e66c9983 100644 (file)
@@ -4361,7 +4361,7 @@ typedef struct _ATOM_GPIO_PIN_ASSIGNMENT
 // GPIO use to control PCIE_VDDC in certain SLT board
 #define PCIE_VDDC_CONTROL_GPIO_PINID        56
 
-//from SMU7.x, if ucGPIO_ID=PP_AC_DC_SWITCH_GPIO_PINID in GPIO_LUTTable, AC/DC swithing feature is enable
+//from SMU7.x, if ucGPIO_ID=PP_AC_DC_SWITCH_GPIO_PINID in GPIO_LUTTable, AC/DC switching feature is enable
 #define PP_AC_DC_SWITCH_GPIO_PINID          60
 //from SMU7.x, if ucGPIO_ID=VDDC_REGULATOR_VRHOT_GPIO_PINID in GPIO_LUTable, VRHot feature is enable
 #define VDDC_VRHOT_GPIO_PINID               61
index ab89eed9ddd9c47e688c090884c8f2561ff2dc11..66a26422e9e3de99fc23ff482c7fee42cb417b23 100644 (file)
@@ -3883,7 +3883,7 @@ typedef struct _ATOM_GPIO_PIN_ASSIGNMENT
 }ATOM_GPIO_PIN_ASSIGNMENT;
 
 //ucGPIO_ID pre-define id for multiple usage
-//from SMU7.x, if ucGPIO_ID=PP_AC_DC_SWITCH_GPIO_PINID in GPIO_LUTTable, AC/DC swithing feature is enable
+//from SMU7.x, if ucGPIO_ID=PP_AC_DC_SWITCH_GPIO_PINID in GPIO_LUTTable, AC/DC switching feature is enable
 #define PP_AC_DC_SWITCH_GPIO_PINID          60
 //from SMU7.x, if ucGPIO_ID=VDDC_REGULATOR_VRHOT_GPIO_PINID in GPIO_LUTable, VRHot feature is enable
 #define VDDC_VRHOT_GPIO_PINID               61
index 0222b1a35a2dd3c1ba0d4b2199016134066fa5ca..9b85295aa6578f5ac5c86803e0923f29404b2e13 100644 (file)
  *
  * The CMX has special functions for conferences with one, two and more
  * members. It will allow different types of data flow. Receive and transmit
- * data to/form upper layer may be swithed on/off individually without losing
+ * data to/form upper layer may be switched on/off individually without losing
  * features of CMX, Tones and DTMF.
  *
  * Echo Cancellation: Sometimes we like to cancel echo from the interface.
index 3e37724d30ae7efa2153f53fab3b21dc6cac5af7..8aefb282c862c3bb4d474d236d70b15c44a2fa1b 100644 (file)
@@ -343,7 +343,7 @@ static const struct driver_info kalmia_info = {
 static const struct usb_device_id products[] = {
        /* The unswitched USB ID, to get the module auto loaded: */
        { USB_DEVICE(0x04e8, 0x689a) },
-       /* The stick swithed into modem (by e.g. usb_modeswitch): */
+       /* The stick switched into modem (by e.g. usb_modeswitch): */
        { USB_DEVICE(0x04e8, 0x6889),
                .driver_info = (unsigned long) &kalmia_info, },
        { /* EMPTY == end of list */} };
index 28c2f6fae3e644d0787f8a1f9117e7e867f04e2b..e4ff3b9738505f2077452cf65790cd68bee3652e 100644 (file)
@@ -673,8 +673,8 @@ void mwifiex_update_ralist_tx_pause(struct mwifiex_private *priv, u8 *mac,
        spin_unlock_irqrestore(&priv->wmm.ra_list_spinlock, flags);
 }
 
-/* This function update non-tdls peer ralist tx_pause while
- * tdls channel swithing
+/* This function updates non-tdls peer ralist tx_pause while
+ * tdls channel switching
  */
 void mwifiex_update_ralist_tx_pause_in_tdls_cs(struct mwifiex_private *priv,
                                               u8 *mac, u8 tx_pause)
index c28b0af9c1f21735915433aecd632165a4a82580..6e7b6a07b7d536a64f7e9ec296adf2bbba8d961c 100644 (file)
@@ -681,7 +681,7 @@ ieee80211_mesh_build_beacon(struct ieee80211_if_mesh *ifmsh)
                   2 + /* NULL SSID */
                   /* Channel Switch Announcement */
                   2 + sizeof(struct ieee80211_channel_sw_ie) +
-                  /* Mesh Channel Swith Parameters */
+                  /* Mesh Channel Switch Parameters */
                   2 + sizeof(struct ieee80211_mesh_chansw_params_ie) +
                   2 + 8 + /* supported rates */
                   2 + 3; /* DS params */
index faac4b10d8eaf9ddd472f2bd6dcba98a49310710..0b6002b36f204f89fa0b0f1c23390fb54307fd21 100755 (executable)
@@ -318,7 +318,7 @@ if ($arch eq "x86_64") {
     # instruction or the addiu one. herein, we record the address of the
     # first one, and then we can replace this instruction by a branch
     # instruction to jump over the profiling function to filter the
-    # indicated functions, or swith back to the lui instruction to trace
+    # indicated functions, or switch back to the lui instruction to trace
     # them, which means dynamic tracing.
     #
     #       c: 3c030000        lui     v1,0x0
index b3a1994b5df758064f974455c5809e4e8beac261..10df6d016d52f2579e214bfa4bc409cb604ae8d2 100644 (file)
@@ -991,6 +991,10 @@ suspeneded||suspended
 suspicously||suspiciously
 swaping||swapping
 switchs||switches
+swith||switch
+swithable||switchable
+swithed||switched
+swithing||switching
 symetric||symmetric
 synax||syntax
 synchonized||synchronized
index f4234edb878c7a01ebbc296bf52cb0debb24b087..8cf0dc7a07a4ce90a2114ddaa1ed0ca5c797bc22 100644 (file)
@@ -3093,7 +3093,7 @@ static int patch_cm9739(struct snd_ac97 * ac97)
        /* set-up multi channel */
        /* bit 14: 0 = SPDIF, 1 = EAPD */
        /* bit 13: enable internal vref output for mic */
-       /* bit 12: disable center/lfe (swithable) */
+       /* bit 12: disable center/lfe (switchable) */
        /* bit 10: disable surround/line (switchable) */
        /* bit 9: mix 2 surround off */
        /* bit 4: undocumented; 0 mutes the CM9739A, which defaults to 1 */