projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c106a2
)
gpio: pch: Add a blank line between declaration and code
author
Abanoub Sameh
<abanoubsameh8@gmail.com>
Tue, 21 Jul 2020 14:50:46 +0000
(16:50 +0200)
committer
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Tue, 21 Jul 2020 16:12:57 +0000
(19:12 +0300)
Added a lined between a declaration and other statements according to the
kernel coding style.
Signed-off-by: Abanoub Sameh <abanoubsameh@protonmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-pch.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-pch.c
b/drivers/gpio/gpio-pch.c
index
1475d20
..
a552df2
100644
(file)
--- 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;
}