diff mbox series

[2/2] gpio: gpio-pch.c: fixed coding style issue

Message ID 20200721145046.773419-2-abanoubsameh@protonmail.com
State New
Headers show
Series [1/2] gpio: gpio-pch.c: changed every 'unsigned' to 'unsigned int' | expand

Commit Message

Abanoub Sameh July 21, 2020, 2:50 p.m. UTC
Added a lined between a declaration and other statements according to the
kenel coding style.

Signed-off-by: Abanoub Sameh <abanoubsameh@protonmail.com>
---
 drivers/gpio/gpio-pch.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Andy Shevchenko July 21, 2020, 4:07 p.m. UTC | #1
On Tue, Jul 21, 2020 at 5:51 PM Abanoub Sameh <abanoubsameh8@gmail.com> wrote:
>
> Added a lined between a declaration and other statements according to the
> kenel coding style.

Besides the typo in the word 'kernel' the subject is not okay.
I fixed this locally this time.

I also highly recommend to read https://chris.beams.io/posts/git-commit/.
diff mbox series

Patch

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;
 }