Skip to content

Commit 6a815d4

Browse files
ndrs-pstfabiobaltieri
authored andcommitted
drivers: gpio: correct spelling
Employ a code spell checking tool to scan and correct spelling errors in all files within the drivers/gpio directory. Signed-off-by: Pisit Sawangvonganan <[email protected]>
1 parent fc694f3 commit 6a815d4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

drivers/gpio/gpio_bd8lb600fs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ static int bd8lb600fs_pin_configure(const struct device *dev, gpio_pin_t pin, gp
8686
}
8787

8888
if (pin > 7) {
89-
LOG_ERR("invalid pin nummber %i", pin);
89+
LOG_ERR("invalid pin number %i", pin);
9090
return -EINVAL;
9191
}
9292

drivers/gpio/gpio_efinix_sapphire.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ LOG_MODULE_REGISTER(gpio_efinix_sapphire);
3434
#define BSP_GPIO_INTERRUPT_HIGH_ENABLE 0x28
3535
#define BSP_GPIO_INTERRUPT_LOW_ENABLE 0x2c
3636

37-
/* efinix sapphire specefic gpio config struct */
37+
/* efinix sapphire specific gpio config struct */
3838
struct gpio_efinix_sapphire_cfg {
3939
uint32_t base_addr;
4040
int n_gpios;
4141
struct gpio_driver_config common;
4242
};
4343

44-
/* efinix sapphire specefic gpio data struct */
44+
/* efinix sapphire specific gpio data struct */
4545
struct gpio_efinix_sapphire_data {
4646
struct gpio_driver_data common;
4747
const struct device *dev;
@@ -79,7 +79,7 @@ static inline void cfg_output_bit(const struct gpio_efinix_sapphire_cfg *config,
7979
}
8080
}
8181

82-
/* To use the controller bare minimun as IO, Peripheral has to configure, */
82+
/* To use the controller bare minimum as IO, Peripheral has to configure, */
8383
/* the Output enable register, b0 : Input, b1 : Output */
8484

8585
static int gpio_efinix_sapphire_config(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags)

drivers/gpio/gpio_tle9104.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ static int tle9104_pin_configure(const struct device *dev, gpio_pin_t pin, gpio_
249249
}
250250

251251
if (pin >= TLE9104_GPIO_COUNT) {
252-
LOG_ERR("invalid pin nummber %i", pin);
252+
LOG_ERR("invalid pin number %i", pin);
253253
return -EINVAL;
254254
}
255255

0 commit comments

Comments
 (0)