[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200721145046.773419-2-abanoubsameh@protonmail.com>
Date: Tue, 21 Jul 2020 16:50:46 +0200
From: Abanoub Sameh <abanoubsameh8@...il.com>
To: andy.shevchenko@...il.com
Cc: linus.walleij@...aro.org, bgolaszewski@...libre.com,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
Abanoub Sameh <abanoubsameh@...tonmail.com>
Subject: [PATCH 2/2] gpio: gpio-pch.c: fixed coding style issue
Added a lined between a declaration and other statements according to the
kenel coding style.
Signed-off-by: Abanoub Sameh <abanoubsameh@...tonmail.com>
---
drivers/gpio/gpio-pch.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-pch.c b/drivers/gpio/gpio-pch.c
index 71dde7ceb7af..039822978eaf 100644
--- a/drivers/gpio/gpio-pch.c
+++ b/drivers/gpio/gpio-pch.c
@@ -199,6 +199,7 @@ static void __maybe_unused pch_gpio_restore_reg_conf(struct pch_gpio *chip)
static int pch_gpio_to_irq(struct gpio_chip *gpio, unsigned int offset)
{
struct pch_gpio *chip = gpiochip_get_data(gpio);
+
return chip->irq_base + offset;
}
--
2.28.0.rc0
Powered by blists - more mailing lists