Skip to content

Commit 89fef8a

Browse files
committed
doc: correct the spelling of "comparison"
s/comparision/comparison/ Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 2f29ee0 commit 89fef8a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

drivers/pwm/pwm_mchp_xec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ LOG_MODULE_REGISTER(pwm_mchp_xec, CONFIG_PWM_LOG_LEVEL);
4040
#define XEC_PWM_MAX_LOW_CLK_FREQ \
4141
(MCHP_PWM_INPUT_FREQ_LO / XEC_PWM_LOWEST_ON_OFF)
4242
/* Precision factor for frequency calculation
43-
* To mitigate frequency comparision up to the first digit after 0.
43+
* To mitigate frequency comparison up to the first digit after 0.
4444
*/
4545
#define XEC_PWM_FREQ_PF 10U
4646
/* Precision factor for DC calculation

drivers/sdhc/sdhc_spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ static int sdhc_spi_set_io(const struct device *dev, struct sdhc_io *ios)
704704
if (ios->clock > cfg->spi_max_freq) {
705705
return -ENOTSUP;
706706
}
707-
/* Because pointer comparision is used, we have to
707+
/* Because pointer comparison is used, we have to
708708
* swap to a new configuration structure to reconfigure SPI.
709709
*/
710710
if (ios->clock != 0) {

drivers/sensor/bosch/bmi08x/bmi08x_accel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ int bmi08x_accel_init(const struct device *dev)
744744
*/
745745
#define BMI08X_GYRO_ODR(inst) DT_ENUM_IDX(DT_INST_PHANDLE(inst, data_sync), gyro_hz)
746746
#define BMI08X_ACCEL_ODR(inst) DT_INST_ENUM_IDX(inst, accel_hz)
747-
/* As the dts uses strings to define the definition, ints must be used for comparision */
747+
/* As the dts uses strings to define the definition, ints must be used for comparison */
748748
#define BMI08X_VERIFY_DATA_SYNC_ODR(inst) \
749749
BUILD_ASSERT((BMI08X_GYRO_ODR(inst) == 3 && BMI08X_ACCEL_ODR(inst) == 5) || \
750750
(BMI08X_GYRO_ODR(inst) == 2 && BMI08X_ACCEL_ODR(inst) == 6) || \

subsys/logging/Kconfig.misc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ config LOG_TEST_CLEAR_MESSAGE_SPACE
1313
default y
1414
depends on ZTEST
1515
help
16-
Used in testing to simplify message comparision if message contains
16+
Used in testing to simplify message comparison if message contains
1717
paddings.
1818

1919
config LOG_USE_VLA

0 commit comments

Comments
 (0)