Skip to content

Commit c6efb58

Browse files
masahir0ytorvalds
authored andcommitted
scripts/spelling.txt: add "swithc" pattern and fix typo instances
Fix typos and add the following to the scripts/spelling.txt: swithc||switch swithced||switched swithcing||switching Link: http://lkml.kernel.org/r/1481573103-11329-3-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>
1 parent 08a7e62 commit c6efb58

5 files changed

Lines changed: 8 additions & 5 deletions

File tree

‎drivers/extcon/extcon-rt8973a.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ static void rt8973a_init_dev_type(struct rt8973a_muic_info *info)
537537
regmap_update_bits(info->regmap, reg, mask, val);
538538
}
539539

540-
/* Check whether RT8973A is auto swithcing mode or not */
540+
/* Check whether RT8973A is auto switching mode or not */
541541
ret = regmap_read(info->regmap, RT8973A_REG_CONTROL1, &data);
542542
if (ret) {
543543
dev_err(info->dev,

‎drivers/media/i2c/adv7183_regs.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
#define ADV7183_LETTERBOX_3 0x9D /* Letterbox 3 */
8484
#define ADV7183_CRC_EN 0xB2 /* CRC enable */
8585
#define ADV7183_ADC_SWITCH_1 0xC3 /* ADC switch 1 */
86-
#define ADV7183_ADC_SWITCH_2 0xC4 /* ADC swithc 2 */
86+
#define ADV7183_ADC_SWITCH_2 0xC4 /* ADC switch 2 */
8787
#define ADV7183_LETTERBOX_CTRL_1 0xDC /* Letterbox control 1 */
8888
#define ADV7183_LETTERBOX_CTRL_2 0xDD /* Letterbox control 2 */
8989
#define ADV7183_SD_OFFSET_CB 0xE1 /* SD offset Cb */

‎drivers/staging/rtl8192u/ieee80211/ieee80211.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1953,7 +1953,7 @@ struct ieee80211_device {
19531953

19541954
/* ask to the driver to retune the radio .
19551955
* This function can sleep. the driver should ensure
1956-
* the radio has been swithced before return.
1956+
* the radio has been switched before return.
19571957
*/
19581958
void (*set_chan)(struct net_device *dev, short ch);
19591959

@@ -1964,7 +1964,7 @@ struct ieee80211_device {
19641964
* The syncro version is similar to the start_scan but
19651965
* does not return until all channels has been scanned.
19661966
* this is called in user context and should sleep,
1967-
* it is called in a work_queue when swithcing to ad-hoc mode
1967+
* it is called in a work_queue when switching to ad-hoc mode
19681968
* or in behalf of iwlist scan when the card is associated
19691969
* and root user ask for a scan.
19701970
* the function stop_scan should stop both the syncro and

‎drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2364,7 +2364,7 @@ static void ieee80211_start_ibss_wq(struct work_struct *work)
23642364
// if((IS_DOT11D_ENABLE(ieee)) && (ieee->state == IEEE80211_NOLINK))
23652365
if (ieee->state == IEEE80211_NOLINK)
23662366
ieee->current_network.channel = 6;
2367-
/* if not then the state is not linked. Maybe the user swithced to
2367+
/* if not then the state is not linked. Maybe the user switched to
23682368
* ad-hoc mode just after being in monitor mode, or just after
23692369
* being very few time in managed mode (so the card have had no
23702370
* time to scan all the chans..) or we have just run up the iface

‎scripts/spelling.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,9 @@ swaping||swapping
993993
switchs||switches
994994
swith||switch
995995
swithable||switchable
996+
swithc||switch
997+
swithced||switched
998+
swithcing||switching
996999
swithed||switched
9971000
swithing||switching
9981001
symetric||symmetric

0 commit comments

Comments
 (0)