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 485bc59..3c91ad4 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 7eb9674..549f7de 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 fc6d541..9150f97 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 a134d8a..de78109 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 816a7e4..788486e 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 bc35911..04487e8 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 16f1037..475dd41 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 4a4d379..9f970b5 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 ab89eed..66a2642 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 0222b1a..9b85295 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 3e37724..8aefb28 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 28c2f6f..e4ff3b9 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 c28b0af..6e7b6a0 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 faac4b1..0b6002b 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 b3a1994..10df6d0 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 f4234ed..8cf0dc7 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 */