Skip to content

Commit 4091fb9

Browse files
masahir0ytorvalds
authored andcommitted
scripts/spelling.txt: add "followings" pattern and fix typo instances
Fix typos and add the following to the scripts/spelling.txt: followings||following While we are here, add a missing colon in the boilerplate in DT binding documents. The "you SoC" in allwinner,sunxi-pinctrl.txt was fixed as well. I reworded "as the followings:" to "as follows:" for drivers/usb/gadget/udc/renesas_usb3.c. Link: http://lkml.kernel.org/r/1481573103-11329-32-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 608595e commit 4091fb9

File tree

26 files changed

+31
-30
lines changed

26 files changed

+31
-30
lines changed

Documentation/DocBook/libata.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ and other resources, etc.
10201020
</itemizedlist>
10211021

10221022
<para>
1023-
Of errors detected as above, the followings are not ATA/ATAPI
1023+
Of errors detected as above, the following are not ATA/ATAPI
10241024
device errors but ATA bus errors and should be handled
10251025
according to <xref linkend="excatATAbusErr"/>.
10261026
</para>

Documentation/acpi/method-tracing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ tracing facility.
152152
Users can enable/disable this debug tracing feature by executing
153153
the following command:
154154
# echo string > /sys/module/acpi/parameters/trace_state
155-
Where "string" should be one of the followings:
155+
Where "string" should be one of the following:
156156
"disable"
157157
Disable the method tracing feature.
158158
"enable"

Documentation/blockdev/mflash.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ driver and currently works well under standard IDE subsystem. Actually it's
1717
one chip SSD. IO mode is ATA-like custom mode for the host that doesn't have
1818
IDE interface.
1919

20-
Followings are brief descriptions about IO mode.
20+
Following are brief descriptions about IO mode.
2121
A. IO mode based on ATA protocol and uses some custom command. (read confirm,
2222
write confirm)
2323
B. IO mode uses SRAM bus interface.

Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
* Marvell Armada 370 / Armada XP / Armada 3700 Ethernet Controller (NETA)
22

33
Required properties:
4-
- compatible: could be one of the followings
4+
- compatible: could be one of the following:
55
"marvell,armada-370-neta"
66
"marvell,armada-xp-neta"
77
"marvell,armada-3700-neta"

Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ the first two functions being GPIO in and out. The configuration on
66
the pins includes drive strength and pull-up.
77

88
Required properties:
9-
- compatible: Should be one of the followings (depending on you SoC):
9+
- compatible: Should be one of the following (depending on your SoC):
1010
"allwinner,sun4i-a10-pinctrl"
1111
"allwinner,sun5i-a10s-pinctrl"
1212
"allwinner,sun5i-a13-pinctrl"

Documentation/devicetree/bindings/soc/rockchip/grf.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ From RK3368 SoCs, the GRF is divided into two sections,
1010

1111
Required Properties:
1212

13-
- compatible: GRF should be one of the followings
13+
- compatible: GRF should be one of the following:
1414
- "rockchip,rk3036-grf", "syscon": for rk3036
1515
- "rockchip,rk3066-grf", "syscon": for rk3066
1616
- "rockchip,rk3188-grf", "syscon": for rk3188
1717
- "rockchip,rk3228-grf", "syscon": for rk3228
1818
- "rockchip,rk3288-grf", "syscon": for rk3288
1919
- "rockchip,rk3368-grf", "syscon": for rk3368
2020
- "rockchip,rk3399-grf", "syscon": for rk3399
21-
- compatible: PMUGRF should be one of the followings
21+
- compatible: PMUGRF should be one of the following:
2222
- "rockchip,rk3368-pmugrf", "syscon": for rk3368
2323
- "rockchip,rk3399-pmugrf", "syscon": for rk3399
2424
- compatible: SGRF should be one of the following

Documentation/devicetree/bindings/sound/rockchip-i2s.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ audio data transfer between devices in the system.
55

66
Required properties:
77

8-
- compatible: should be one of the followings
8+
- compatible: should be one of the following:
99
- "rockchip,rk3066-i2s": for rk3066
1010
- "rockchip,rk3188-i2s", "rockchip,rk3066-i2s": for rk3188
1111
- "rockchip,rk3288-i2s", "rockchip,rk3066-i2s": for rk3288
@@ -17,7 +17,7 @@ Required properties:
1717
Documentation/devicetree/bindings/dma/dma.txt
1818
- dma-names: should include "tx" and "rx".
1919
- clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names.
20-
- clock-names: should contain followings:
20+
- clock-names: should contain the following:
2121
- "i2s_hclk": clock for I2S BUS
2222
- "i2s_clk" : clock for I2S controller
2323
- rockchip,playback-channels: max playback channels, if not set, 8 channels default.

Documentation/devicetree/bindings/sound/sun4i-codec.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Required properties:
1414
- dma-names: should include "tx" and "rx".
1515
- clocks: a list of phandle + clock-specifer pairs, one for each entry
1616
in clock-names.
17-
- clock-names: should contain followings:
17+
- clock-names: should contain the following:
1818
- "apb": the parent APB clock for this controller
1919
- "codec": the parent module clock
2020

Documentation/devicetree/bindings/sound/sun4i-i2s.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ audio data transfer between devices in the system.
55

66
Required properties:
77

8-
- compatible: should be one of the followings
8+
- compatible: should be one of the following:
99
- "allwinner,sun4i-a10-i2s"
1010
- "allwinner,sun6i-a31-i2s"
1111
- reg: physical base address of the controller and length of memory mapped
@@ -15,7 +15,7 @@ Required properties:
1515
Documentation/devicetree/bindings/dma/dma.txt
1616
- dma-names: should include "tx" and "rx".
1717
- clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names.
18-
- clock-names: should contain followings:
18+
- clock-names: should contain the following:
1919
- "apb" : clock for the I2S bus interface
2020
- "mod" : module clock for the I2S controller
2121
- #sound-dai-cells : Must be equal to 0

Documentation/memory-hotplug.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ config options.
114114
Memory model -> Sparse Memory (CONFIG_SPARSEMEM)
115115
Allow for memory hot-add (CONFIG_MEMORY_HOTPLUG)
116116

117-
- To enable memory removal, the followings are also necessary
117+
- To enable memory removal, the following are also necessary
118118
Allow for memory hot remove (CONFIG_MEMORY_HOTREMOVE)
119119
Page Migration (CONFIG_MIGRATION)
120120

121-
- For ACPI memory hotplug, the followings are also necessary
121+
- For ACPI memory hotplug, the following are also necessary
122122
Memory hotplug (under ACPI Support menu) (CONFIG_ACPI_HOTPLUG_MEMORY)
123123
This option can be kernel module.
124124

Documentation/sound/hd-audio/notes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ If it's a regression, at best, send alsa-info outputs of both working
697697
and non-working kernels. This is really helpful because we can
698698
compare the codec registers directly.
699699

700-
Send a bug report either the followings:
700+
Send a bug report either the following:
701701

702702
kernel-bugzilla
703703
https://bugzilla.kernel.org/

drivers/ata/libata-eh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2034,7 +2034,7 @@ static int speed_down_verdict_cb(struct ata_ering_entry *ent, void *void_arg)
20342034
* This is to expedite speed down decisions right after device is
20352035
* initially configured.
20362036
*
2037-
* The followings are speed down rules. #1 and #2 deal with
2037+
* The following are speed down rules. #1 and #2 deal with
20382038
* DUBIOUS errors.
20392039
*
20402040
* 1. If more than one DUBIOUS_ATA_BUS or DUBIOUS_TOUT_HSM errors

drivers/atm/iphase.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
supports a variety of varients of Interphase ATM PCI (i)Chip adapter
2222
card family (See www.iphase.com/products/ClassSheet.cfm?ClassID=ATM)
2323
in terms of PHY type, the size of control memory and the size of
24-
packet memory. The followings are the change log and history:
24+
packet memory. The following are the change log and history:
2525
2626
Bugfix the Mona's UBR driver.
2727
Modify the basic memory allocation and dma logic.

drivers/atm/iphase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
supports a variety of varients of Interphase ATM PCI (i)Chip adapter
2222
card family (See www.iphase.com/products/ClassSheet.cfm?ClassID=ATM)
2323
in terms of PHY type, the size of control memory and the size of
24-
packet memory. The followings are the change log and history:
24+
packet memory. The following are the change log and history:
2525
2626
Bugfix the Mona's UBR driver.
2727
Modify the basic memory allocation and dma logic.

drivers/devfreq/devfreq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ static int __init devfreq_init(void)
12281228
subsys_initcall(devfreq_init);
12291229

12301230
/*
1231-
* The followings are helper functions for devfreq user device drivers with
1231+
* The following are helper functions for devfreq user device drivers with
12321232
* OPP framework.
12331233
*/
12341234

drivers/hwmon/g762.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ static ssize_t fan1_pulses_store(struct device *dev,
861861
* (i.e. closed or open-loop).
862862
*
863863
* Following documentation about hwmon's sysfs interface, a pwm1_enable node
864-
* should accept followings:
864+
* should accept the following:
865865
*
866866
* 0 : no fan speed control (i.e. fan at full speed)
867867
* 1 : manual fan speed control enabled (use pwm[1-*]) (open-loop)

drivers/isdn/hardware/eicon/debug.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2049,7 +2049,7 @@ static int diva_dbg_cmp_key(const char *ref, const char *key) {
20492049
/*
20502050
In case trace filter starts with "C" character then
20512051
all following characters are interpreted as command.
2052-
Followings commands are available:
2052+
Following commands are available:
20532053
- single, trace single call at time, independent from CPN/CiPN
20542054
*/
20552055
static int diva_mnt_cmp_nmbr(const char *nmbr) {

drivers/pci/quirks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3630,7 +3630,7 @@ static int __init pci_apply_final_quirks(void)
36303630
fs_initcall_sync(pci_apply_final_quirks);
36313631

36323632
/*
3633-
* Followings are device-specific reset methods which can be used to
3633+
* Following are device-specific reset methods which can be used to
36343634
* reset a single function if other methods (e.g. FLR, PM D0->D3) are
36353635
* not available.
36363636
*/

drivers/staging/gs_fpgaboot/gs_fpgaboot.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ struct fpgaimage {
3939
const struct firmware *fw_entry;
4040

4141
/*
42-
* the followings can be read from bitstream,
42+
* the following can be read from bitstream,
4343
* but other image format should have as well
4444
*/
4545
char filename[MAX_STR];

drivers/usb/gadget/udc/renesas_usb3.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1791,7 +1791,7 @@ static int renesas_usb3_init_ep(struct renesas_usb3 *usb3, struct device *dev,
17911791

17921792
dev_dbg(dev, "%s: num_usb3_eps = %d\n", __func__, usb3->num_usb3_eps);
17931793
/*
1794-
* This driver prepares pipes as the followings:
1794+
* This driver prepares pipes as follows:
17951795
* - odd pipes = IN pipe
17961796
* - even pipes = OUT pipe (except pipe 0)
17971797
*/
@@ -1841,7 +1841,7 @@ static void renesas_usb3_init_ram(struct renesas_usb3 *usb3, struct device *dev,
18411841
memset(basead, 0, sizeof(basead));
18421842

18431843
/*
1844-
* This driver prepares pipes as the followings:
1844+
* This driver prepares pipes as follows:
18451845
* - all pipes = the same size as "ramsize_per_pipe"
18461846
* Please refer to the "Method of Specifying RAM Mapping"
18471847
*/

include/linux/kconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/*
1010
* The use of "&&" / "||" is limited in certain expressions.
11-
* The followings enable to calculate "and" / "or" with macro expansion only.
11+
* The following enable to calculate "and" / "or" with macro expansion only.
1212
*/
1313
#define __and(x, y) ___and(x, y)
1414
#define ___and(x, y) ____and(__ARG_PLACEHOLDER_##x, y)

mm/percpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* Chunks can be determined from the address using the index field
4444
* in the page struct. The index field contains a pointer to the chunk.
4545
*
46-
* To use this allocator, arch code should do the followings.
46+
* To use this allocator, arch code should do the following:
4747
*
4848
* - define __addr_to_pcpu_ptr() and __pcpu_ptr_to_addr() to translate
4949
* regular address to percpu pointer and back if they need to be

scripts/spelling.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ finsih||finish
464464
flusing||flushing
465465
folloing||following
466466
followign||following
467+
followings||following
467468
follwing||following
468469
forseeable||foreseeable
469470
forse||force

sound/pci/hda/patch_ca0132.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2866,7 +2866,7 @@ static unsigned int ca0132_capture_pcm_delay(struct hda_pcm_stream *info,
28662866
#define CA0132_CODEC_MUTE(xname, nid, dir) \
28672867
CA0132_CODEC_MUTE_MONO(xname, nid, 3, dir)
28682868

2869-
/* The followings are for tuning of products */
2869+
/* The following are for tuning of products */
28702870
#ifdef ENABLE_TUNING_CONTROLS
28712871

28722872
static unsigned int voice_focus_vals_lookup[] = {

sound/ppc/snd_ps3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ static void snd_ps3_audio_set_base_addr(uint64_t ioaddr_start)
883883
static void snd_ps3_audio_fixup(struct snd_ps3_card_info *card)
884884
{
885885
/*
886-
* avsetting driver seems to never change the followings
886+
* avsetting driver seems to never change the following
887887
* so, init them here once
888888
*/
889889

sound/soc/fsl/fsl_asrc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ static int fsl_asrc_config_pair(struct fsl_asrc_pair *pair)
368368
fsl_asrc_set_watermarks(pair, ASRC_INPUTFIFO_THRESHOLD,
369369
ASRC_INPUTFIFO_THRESHOLD);
370370

371-
/* Configure the followings only for Ideal Ratio mode */
371+
/* Configure the following only for Ideal Ratio mode */
372372
if (!ideal)
373373
return 0;
374374

0 commit comments

Comments
 (0)