diff options
| author | Igor Putko <igorpetindev@gmail.com> | 2026-06-18 18:56:25 +0300 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-06-30 15:24:38 +0200 |
| commit | 076df055a505aa4ce36b92eba8525fca76c9b213 (patch) | |
| tree | e7776dff0b176ea4507dedffb9fe665da33a1c72 | |
| parent | 32711f77db0641e57fd96fdc013bf1286b9f2514 (diff) | |
| download | linux-stable-076df055a505aa4ce36b92eba8525fca76c9b213.tar.gz linux-stable-076df055a505aa4ce36b92eba8525fca76c9b213.zip | |
gpio: tb10x: use unsigned int instead of bare unsigned
Fix the checkpatch.pl warning by using 'unsigned int' instead of
the bare use of 'unsigned' for the offset parameter in
tb10x_gpio_to_irq().
Signed-off-by: Igor Putko <igorpetindev@gmail.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
| -rw-r--r-- | drivers/gpio/gpio-tb10x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gpio/gpio-tb10x.c index 705bfd80a8d0..d30524dbc841 100644 --- a/drivers/gpio/gpio-tb10x.c +++ b/drivers/gpio/gpio-tb10x.c @@ -51,7 +51,7 @@ static inline u32 tb10x_reg_read(struct tb10x_gpio *gpio, unsigned int offs) return ioread32(gpio->base + offs); } -static int tb10x_gpio_to_irq(struct gpio_chip *chip, unsigned offset) +static int tb10x_gpio_to_irq(struct gpio_chip *chip, unsigned int offset) { struct tb10x_gpio *tb10x_gpio = gpiochip_get_data(chip); |
