Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Masahiro Yamada and committed by
Linus Torvalds
c6efb58d 08a7e621

+8 -5
+1 -1
drivers/extcon/extcon-rt8973a.c
··· 537 537 regmap_update_bits(info->regmap, reg, mask, val); 538 538 } 539 539 540 - /* Check whether RT8973A is auto swithcing mode or not */ 540 + /* Check whether RT8973A is auto switching mode or not */ 541 541 ret = regmap_read(info->regmap, RT8973A_REG_CONTROL1, &data); 542 542 if (ret) { 543 543 dev_err(info->dev,
+1 -1
drivers/media/i2c/adv7183_regs.h
··· 83 83 #define ADV7183_LETTERBOX_3 0x9D /* Letterbox 3 */ 84 84 #define ADV7183_CRC_EN 0xB2 /* CRC enable */ 85 85 #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 */ 87 87 #define ADV7183_LETTERBOX_CTRL_1 0xDC /* Letterbox control 1 */ 88 88 #define ADV7183_LETTERBOX_CTRL_2 0xDD /* Letterbox control 2 */ 89 89 #define ADV7183_SD_OFFSET_CB 0xE1 /* SD offset Cb */
+2 -2
drivers/staging/rtl8192u/ieee80211/ieee80211.h
··· 1953 1953 1954 1954 /* ask to the driver to retune the radio . 1955 1955 * This function can sleep. the driver should ensure 1956 - * the radio has been swithced before return. 1956 + * the radio has been switched before return. 1957 1957 */ 1958 1958 void (*set_chan)(struct net_device *dev, short ch); 1959 1959 ··· 1964 1964 * The syncro version is similar to the start_scan but 1965 1965 * does not return until all channels has been scanned. 1966 1966 * 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 1968 1968 * or in behalf of iwlist scan when the card is associated 1969 1969 * and root user ask for a scan. 1970 1970 * the function stop_scan should stop both the syncro and
+1 -1
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
··· 2364 2364 // if((IS_DOT11D_ENABLE(ieee)) && (ieee->state == IEEE80211_NOLINK)) 2365 2365 if (ieee->state == IEEE80211_NOLINK) 2366 2366 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 2368 2368 * ad-hoc mode just after being in monitor mode, or just after 2369 2369 * being very few time in managed mode (so the card have had no 2370 2370 * time to scan all the chans..) or we have just run up the iface
+3
scripts/spelling.txt
··· 993 993 switchs||switches 994 994 swith||switch 995 995 swithable||switchable 996 + swithc||switch 997 + swithced||switched 998 + swithcing||switching 996 999 swithed||switched 997 1000 swithing||switching 998 1001 symetric||symmetric