Message ID | 20200721145012.767722-2-abanoubsameh@protonmail.com |
---|---|
State | New |
Headers | show |
Series | [1/2] gpio: gpio-ml-ioh.c: changed every 'unsigned' to 'unsigned int' | expand |
diff --git a/drivers/gpio/gpio-ml-ioh.c b/drivers/gpio/gpio-ml-ioh.c index f1b754b60413..7007621a5b55 100644 --- a/drivers/gpio/gpio-ml-ioh.c +++ b/drivers/gpio/gpio-ml-ioh.c @@ -212,6 +212,7 @@ static void ioh_gpio_restore_reg_conf(struct ioh_gpio *chip) static int ioh_gpio_to_irq(struct gpio_chip *gpio, unsigned int offset) { struct ioh_gpio *chip = gpiochip_get_data(gpio); + return chip->irq_base + offset; }
Added a line after a declaration to fix a coding style issue. Signed-off-by: Abanoub Sameh <abanoubsameh@protonmail.com> --- drivers/gpio/gpio-ml-ioh.c | 1 + 1 file changed, 1 insertion(+)