Messages in this thread Patch in this message | | | From | Abanoub Sameh <> | Subject | [PATCH 2/2] gpio: gpio-ml-ioh.c: fixed a coding style issue | Date | Tue, 21 Jul 2020 16:50:12 +0200 |
| |
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(+)
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; } -- 2.28.0.rc0
| |