Skip to content

Commit 0787093

Browse files
JordanYatesnashif
authored andcommitted
everywhere: replace double words
Treewide search and replace on a range of double word combinations: * `the the` * `to to` * `if if` * `that that` * `on on` * `is is` * `from from` Signed-off-by: Jordan Yates <[email protected]>
1 parent b0e327b commit 0787093

File tree

125 files changed

+147
-147
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+147
-147
lines changed

arch/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ config SRAM_BASE_ADDRESS
215215
hex "SRAM Base Address"
216216
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_SRAM))
217217
help
218-
The SRAM base address. The default value comes from from
218+
The SRAM base address. The default value comes from
219219
/chosen/zephyr,sram in devicetree. The user should generally avoid
220220
changing it via menuconfig or in configuration files.
221221

arch/arm/core/cortex_a_r/isr_wrapper.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ _idle_state_cleared:
189189
*
190190
* Note that interrupts are disabled up to this point on the ARM
191191
* architecture variants other than the Cortex-M. It is also important
192-
* to note that that most interrupt controllers require that the nested
192+
* to note that most interrupt controllers require that the nested
193193
* interrupts are handled after the active interrupt is acknowledged;
194194
* this is be done through the `get_active` interrupt controller
195195
* interface function.

arch/x86/core/ia32/crt0.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ __csSet:
273273
/* Don't clear BSS if the section is not present
274274
* in memory at boot. Or else it would cause page
275275
* faults. Zeroing BSS will be done later once the
276-
* the paging mechanism has been initialized.
276+
* paging mechanism has been initialized.
277277
*/
278278
call z_bss_zero
279279
#endif

arch/x86/ia32.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ add_bin_file_to_the_next_link(gen_idt_output irq_int_vector_map)
126126
add_bin_file_to_the_next_link(gen_idt_output irq_vectors_alloc)
127127

128128
if(CONFIG_GDT_DYNAMIC)
129-
# Use gen_gdt.py and objcopy to generate gdt.o from from the elf
129+
# Use gen_gdt.py and objcopy to generate gdt.o from the elf
130130
# file ${ZEPHYR_PREBUILT_EXECUTABLE}, creating the temp file gdt.bin along the
131131
# way.
132132
#

boards/nuvoton/numaker_pfm_m467/numaker_pfm_m467.dts

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
status = "okay";
123123
};
124124

125-
/* On enabled, 'core-clock', as above, is required to to be 192MHz. */
125+
/* On enabled, 'core-clock', as above, is required to be 192MHz. */
126126
zephyr_udc0: &usbd {
127127
pinctrl-0 = <&usbd_default>;
128128
pinctrl-names = "default";

boards/weact/stm32g431_core/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Hardware Configuration
8181
+---------------+---------+-----------------------------------------------+
8282
| SB6/SB7 | Open | Connect PB4/PB6 (UCPD1_CCx) to USB-C CCx pins |
8383
+---------------+---------+-----------------------------------------------+
84-
| SB3/SB5 | Open | Connect PA9/PA10 (UCPD1_DBCCx) to to PB6/PB4 |
84+
| SB3/SB5 | Open | Connect PA9/PA10 (UCPD1_DBCCx) to PB6/PB4 |
8585
+---------------+---------+-----------------------------------------------+
8686
| SB4 | Open | Connect PB2 to VBUS voltage divider |
8787
+---------------+---------+-----------------------------------------------+

cmake/modules/dts.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ find_package(Dtc 1.4.6)
7676
# - DTC_OVERLAY_FILE: list of devicetree overlay files which will be
7777
# used to modify or extend the base devicetree.
7878
# - EXTRA_DTC_OVERLAY_FILE: list of extra devicetree overlay files.
79-
# This variable is is similar to DTC_OVERLAY_FILE but the files in
79+
# This variable is similar to DTC_OVERLAY_FILE but the files in
8080
# EXTRA_DTC_OVERLAY_FILE will be applied after DTC_OVERLAY_FILE and
8181
# thus files specified by EXTRA_DTC_OVERLAY_FILE have higher precedence.
8282
# - EXTRA_DTC_FLAGS: list of extra command line options to pass to

cmake/modules/extensions.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ function(zephyr_library_compile_options item)
505505
# library and link with it to obtain the flags.
506506
#
507507
# Linking with a dummy interface library will place flags later on
508-
# the command line than the the flags from zephyr_interface because
508+
# the command line than the flags from zephyr_interface because
509509
# zephyr_interface will be the first interface library that flags
510510
# are taken from.
511511

doc/connectivity/networking/api/http_server.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ in the reply.
277277
Websocket resources
278278
===================
279279

280-
Websocket resources register an application callback, which is is called when a
280+
Websocket resources register an application callback, which is called when a
281281
Websocket connection upgrade takes place. The callback is provided with a socket
282282
descriptor corresponding to the underlying TCP/TLS connection. Once called,
283283
the application takes full control over the socket, i. e. is responsible to

doc/kernel/services/data_passing/pipes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Alternatively, a pipe can be defined and initialized at compile time by
8080
calling :c:macro:`K_PIPE_DEFINE`.
8181

8282
The following code has the same effect as the code segment above. Observe
83-
that that macro defines both the pipe and its ring buffer.
83+
that macro defines both the pipe and its ring buffer.
8484

8585
.. code-block:: c
8686

doc/releases/release-notes-2.5.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ USB
745745
* Separate PID for DFU mode added to avoid problems caused by the host OS
746746
caching the remaining descriptors when switching to DFU mode.
747747
* Added timer for appDETACH state and revised descriptor handling to
748-
to meet specification requirements.
748+
meet specification requirements.
749749

750750
* USB HID class
751751

@@ -1562,7 +1562,7 @@ release:
15621562
* :github:`29146` - canisotp: mimxrt1064_evk: no DT_CHOSEN_ZEPHYR_CAN_PRIMARY_LABEL defined cause tests failure
15631563
* :github:`29145` - net: frdmk64f many net related applications meet hardfault, hal driver assert
15641564
* :github:`29139` - tests/kernel/fatal/exception failed on nsim_sem_mpu_stack_guard board
1565-
* :github:`29120` - STM32: Few issues on on pinctrl generation script
1565+
* :github:`29120` - STM32: Few issues on pinctrl generation script
15661566
* :github:`29113` - Build failure with OSPD
15671567
* :github:`29111` - Atmel SAM V71 UART_0 fail
15681568
* :github:`29109` - HAL STM32 Missing ETH pin control configurations in DT files

doc/releases/release-notes-3.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Deprecated in this release
181181
:c:func:`can_set_bitrate` and :c:func:`can_set_mode`.
182182
* :c:func:`can_attach_workq` is deprecated in favor of utilizing
183183
:c:func:`can_add_rx_filter_msgq` and :c:func:`k_work_poll_submit`.
184-
* :c:func:`can_attach_isr` is is deprecated and replaced by
184+
* :c:func:`can_attach_isr` is deprecated and replaced by
185185
:c:func:`can_add_rx_filter`.
186186
* :c:macro:`CAN_DEFINE_MSGQ` is deprecated and replaced by
187187
:c:macro:`CAN_MSGQ_DEFINE`.

drivers/adc/adc_mcux_lpadc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ static void mcux_lpadc_isr(const struct device *dev)
424424
LOG_DBG("Finished channel %d. Raw result is 0x%04x",
425425
channel, conv_result.convValue);
426426
/*
427-
* For 12 or 13 bit resolution the the LSBs will be 0, so a bit shift
427+
* For 12 or 13 bit resolution the LSBs will be 0, so a bit shift
428428
* is needed. For differential modes, the ADC conversion to
429429
* millivolts expects to use a shift one less than the resolution.
430430
*

drivers/bluetooth/hci/hci_ifx_cyw208xx.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* This driver uses btstack-integration asset as hosts platform adaptation layer
1212
* (porting layer) for CYW20829. btstack-integration layer implements/
13-
* invokes the interfaces defined by BTSTACK to to enable communication
13+
* invokes the interfaces defined by BTSTACK to enable communication
1414
* with the BT controller by using IPC_BTSS (IPC Bluetooth sub-system interface).
1515
* Zephyr CYW20829 driver implements wiced_bt_**** functions requreds for
1616
* btstack-integration asset and Zephyr Bluetooth driver interface

drivers/can/can_fake.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static int fake_can_get_core_clock_delegate(const struct device *dev, uint32_t *
6161
{
6262
ARG_UNUSED(dev);
6363

64-
/* Recommended CAN clock from from CiA 601-3 */
64+
/* Recommended CAN clock from CiA 601-3 */
6565
*rate = MHZ(80);
6666

6767
return 0;

drivers/can/can_loopback.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ static int can_loopback_get_core_clock(const struct device *dev, uint32_t *rate)
352352
{
353353
ARG_UNUSED(dev);
354354

355-
/* Recommended CAN clock from from CiA 601-3 */
355+
/* Recommended CAN clock from CiA 601-3 */
356356
*rate = MHZ(80);
357357

358358
return 0;

drivers/clock_control/beetle_clock_control.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ static int beetle_pll_enable(uint32_t mainclk)
205205
/* Set PLLCTRL Register */
206206
__BEETLE_SYSCON->pllctrl = BEETLE_PLL_CONFIGURATION;
207207

208-
/* Switch the the Main clock to PLL and set prescaler */
208+
/* Switch the Main clock to PLL and set prescaler */
209209
__BEETLE_SYSCON->mainclk = pre_mainclk;
210210

211211
while (!__BEETLE_SYSCON->pllstatus) {

drivers/dai/intel/dmic/Kconfig.dmic

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ config DAI_INTEL_DMIC_TPLG_PARAMS
3636
All registers configuration is computed on the fly
3737
based on use case and microphone datasheet parameters
3838
and topology defined PCM format. The parameters are
39-
easy to to customize in the topology.
39+
easy to customize in the topology.
4040
WORK IN PROGRESS, not enabled in the driver yet
4141

4242
endchoice

drivers/eeprom/eeprom_at2x.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ static int eeprom_at24_write(const struct device *dev, off_t offset,
313313
bus_addr = eeprom_at24_translate_offset(dev, &offset);
314314

315315
/*
316-
* Not all I2C EEPROMs support repeated start so the the
316+
* Not all I2C EEPROMs support repeated start so the
317317
* address (offset) and data (buf) must be provided in one
318318
* write transaction (block).
319319
*/

drivers/flash/flash_simulator_native.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
/*
3232
* Initialize the flash buffer.
33-
* And, if the content is to be kept on disk map it to the the buffer to the file.
33+
* And, if the content is to be kept on disk map it to the buffer to the file.
3434
*
3535
* Returns -1 on failure
3636
* 0 on success

drivers/gpio/gpio_hogs.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ struct gpio_hogs {
3838
#define GPIO_HOGS_NODE_IS_GPIO_CTLR(node_id) \
3939
DT_PROP_OR(node_id, gpio_controller, 0)
4040

41-
/* Expands to to 1 if node_id is a GPIO hog, empty otherwise */
41+
/* Expands to 1 if node_id is a GPIO hog, empty otherwise */
4242
#define GPIO_HOGS_NODE_IS_GPIO_HOG(node_id) \
4343
IF_ENABLED(DT_PROP_OR(node_id, gpio_hog, 0), 1)
4444

drivers/input/Kconfig.sbus

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ config INPUT_SBUS_REPORT_FILTER
2929
default 1
3030
help
3131
SBUS tends to be a bit noisy you can increase the threshold to
32-
to lower the amounts of input events. Set to 0 for no filtering
32+
lower the amounts of input events. Set to 0 for no filtering
3333

3434
config INPUT_SBUS_SEND_SYNC
3535
bool "Send Sync to input subsys on each SBUS frame"

drivers/led/ht16k33.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ static bool ht16k33_process_keyscan_data(const struct device *dev)
213213

214214
err = i2c_burst_read_dt(&config->i2c, HT16K33_CMD_KEY_DATA_ADDR, keys, sizeof(keys));
215215
if (err) {
216-
LOG_WRN("Failed to to read HT16K33 key data (err %d)", err);
216+
LOG_WRN("Failed to read HT16K33 key data (err %d)", err);
217217
/* Reprocess */
218218
return true;
219219
}
@@ -380,7 +380,7 @@ static int ht16k33_init(const struct device *dev)
380380
err = i2c_burst_read_dt(&config->i2c, HT16K33_CMD_KEY_DATA_ADDR, keys,
381381
sizeof(keys));
382382
if (err) {
383-
LOG_ERR("Failed to to read HT16K33 key data");
383+
LOG_ERR("Failed to read HT16K33 key data");
384384
return -EIO;
385385
}
386386

drivers/mipi_dbi/mipi_dbi_smartbond.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct mipi_dbi_smartbond_config {
7777
lcdc_smartbond_bgcolor_cfg bgcolor_cfg;
7878
};
7979

80-
/* Mark the device is is progress and so it's not allowed to enter the sleep state. */
80+
/* Mark the device is progress and so it's not allowed to enter the sleep state. */
8181
static inline void mipi_dbi_smartbond_pm_policy_state_lock_get(void)
8282
{
8383
/*

drivers/mipi_dsi/dsi_mcux_2l.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ static int dsi_mcux_tx_color(const struct device *dev, uint8_t channel,
8686
* Color streams are a special case for this DSI peripheral, because
8787
* the SMARTDMA peripheral (if enabled) can be used to accelerate
8888
* the transfer of data to the DSI. The SMARTDMA has the additional
89-
* advantage over traditional DMA of being able to to automatically
89+
* advantage over traditional DMA of being able to automatically
9090
* byte swap color data. This is advantageous, as most graphical
9191
* frameworks store RGB data in little endian format, but many
9292
* MIPI displays expect color data in big endian format.

drivers/rtc/rtc_pcf8563.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ struct pcf8563_data {
9292
* with 8.4.2 Register Minutes.
9393
*
9494
* For seconds, first bit is ignored (it is used to check the clock integrity).
95-
* The the upper digit takes the next 3 bits for the tens place and then the rest
95+
* The upper digit takes the next 3 bits for the tens place and then the rest
9696
* bits for the unit
9797
* So for example, value 43 is 40 * 10 + 3, so the tens digit is 4 and unit digit is 3.
9898
* Then we put the number 3 in the last 4 bits and the number 4 in next 3 bits
@@ -391,7 +391,7 @@ void gpio_callback_function(const struct device *dev, struct gpio_callback *cb,
391391
struct pcf8563_data *data = CONTAINER_OF(cb, struct pcf8563_data, int1_callback);
392392

393393
LOG_DBG("PCF8563 interrupt detected");
394-
/* By using a work we are able to to run "heavier" code */
394+
/* By using a work we are able to run "heavier" code */
395395
k_work_submit(&(data->callback_work));
396396

397397
}

drivers/sensor/st/lis2dh/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ config LIS2DH_MEASURE_TEMPERATURE
155155
relative temperature. For example, it is X degrees C
156156
cooler or warmer.
157157
Each chip has an offset. This offset must be applied
158-
to the result. The offset can be obtained by comparing the
158+
to the result. The offset can be obtained by comparing
159159
the reported temperature to a reference.
160160
This option does not apply to the LSM330DLHC.
161161

drivers/serial/uart_altera.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878

7979
/*
8080
* The value ALT_AVALON_UART_FC is a value set in the device flag field to
81-
* indicate the the device is using flow control, i.e. the driver must
81+
* indicate the device is using flow control, i.e. the driver must
8282
* throttle on transmit if the nCTS pin is low.
8383
*/
8484
#define ALT_AVALON_UART_FC 0x2

drivers/serial/uart_intel_lw.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
/*
7070
* The value INTEL_LW_UART_FC is a value set in the device flag field to
71-
* indicate the the device is using flow control, i.e. the driver must
71+
* indicate the device is using flow control, i.e. the driver must
7272
* throttle on transmit if the nCTS pin is low.
7373
*/
7474
#define INTEL_LW_UART_FC 0x2

drivers/serial/uart_mcux_lpuart.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ static int mcux_lpuart_configure_async(const struct device *dev)
10541054
mcux_lpuart_async_tx_timeout);
10551055

10561056
/* Disable the UART Receiver until the async API provides a buffer to
1057-
* to receive into with rx_enable
1057+
* receive into with rx_enable
10581058
*/
10591059
uart_config.enableRx = false;
10601060
/* Clearing the fifo of any junk received before the async rx enable was called */

drivers/serial/uart_nrfx_uarte.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ static void endrx_isr(const struct device *dev)
11581158
data->async->rx_flush_cnt = 0;
11591159

11601160
/* The 'rx_offset' can be bigger than 'rx_amount', so it the length
1161-
* of data we report back the the user may need to be clipped.
1161+
* of data we report back the user may need to be clipped.
11621162
* This can happen because the 'rx_offset' count derives from RXRDY
11631163
* events, which can occur already for the next buffer before we are
11641164
* here to handle this buffer. (The next buffer is now already active

drivers/spi/spi_mcux_flexcomm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ static int transceive_dma(const struct device *dev,
638638
/* at this point, last just means whether or not
639639
* this transfer will completely cover
640640
* the current tx/rx buffer in data->ctx
641-
* or require additional transfers because the
641+
* or require additional transfers because
642642
* the two buffers are not the same size.
643643
*
644644
* if it covers the current ctx tx/rx buffers, then

drivers/timer/native_posix_timer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void np_timer_isr_test_hook(const void *arg)
6565
*
6666
* Informs the system clock driver that the next needed call to
6767
* sys_clock_announce() will not be until the specified number of ticks
68-
* from the the current time have elapsed.
68+
* from the current time have elapsed.
6969
*
7070
* See system_timer.h for more information
7171
*

dts/arm/st/f4/stm32f429vX.dtsi

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright (c) 2018 Daniel Wagenknecht
33
*
44
* Document the usage of /delete-node/ for device tree nodes
5-
* that are missing on on only a small subset of SoCs of a given group
5+
* that are missing on only a small subset of SoCs of a given group
66
* of SoCs.
77
* Don't remove this file even if none of the SoCs currently
88
* implemented in zephyr use it.

dts/bindings/espi/nuvoton,npcx-espi-vw-conf.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ compatible: "nuvoton,npcx-espi-vw-conf"
77

88
child-binding:
99
description: |
10-
Child node to to present the mapping between VW signal, its core register and input source of
10+
Child node to present the mapping between VW signal, its core register and input source of
1111
MIWU
1212
1313
properties:

dts/bindings/input/futaba,sbus.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ description: |
55
SBUS input driver using
66
This driver implements the SBUS protocol used on RC radio's
77
to send out analogue joystick and switches output.
8-
SBUS is an single-wire inverted serial protocol to either you need to
9-
to the rx-invert feature of your serial driver or use an external signal inverter.
8+
SBUS is an single-wire inverted serial protocol so either you need to use
9+
the rx-invert feature of your serial driver or use an external signal inverter.
1010
The driver binds this to the Zephyr input system using INPUT_EV_CODES.
1111
1212
The following examples defines a a binding of 2 joysticks and a button using 5 channels.

dts/bindings/interrupt-controller/st,stm32-exti.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ properties:
2323
type: array
2424
required: true
2525
description: |
26-
Description of the the input lines range for each interrupt line supported
26+
Description of the input lines range for each interrupt line supported
2727
by the external interrupt controller. For each line a couple of integers is
2828
provided: the number of the first line of the range start and the length
2929
of the range.

dts/bindings/pinctrl/nxp,imx-iomuxc.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ child-binding:
2828
description: |
2929
An array of values defining the pin mux selection, in the following format:
3030
<mux_register, mux_val, input_reg, daisy_val, cfg_reg>
31-
mux_register: register that will be written to to make mux selection
31+
mux_register: register that will be written to make mux selection
3232
mux_val: value to write to mux_register
3333
input_reg: peripheral register that will direct peripheral signal to pin
3434
daisy_val: value to write to input_reg

include/zephyr/bluetooth/audio/csip.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ struct bt_csip_set_coordinator_set_info {
270270
uint8_t set_size;
271271

272272
/**
273-
* @brief The rank of the set on on the remote device
273+
* @brief The rank of the set on the remote device
274274
*
275275
* Will be 0 if not exposed by the server.
276276
*/

0 commit comments

Comments
 (0)