summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAbanoub Sameh <abanoubsameh8@gmail.com>2020-07-21 17:50:46 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-07-21 19:12:57 +0300
commit37ceab74f12f00900734109ebf9b7a6a7791a9d0 (patch)
treee4387018265478be82f3d970e131a0a121d61ab5 /drivers/gpio
parent0c106a23d6927533df560bce7096454b0c228833 (diff)
downloadlinux-37ceab74f12f00900734109ebf9b7a6a7791a9d0.tar.xz
gpio: pch: Add a blank line between declaration and code
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-pch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-pch.c b/drivers/gpio/gpio-pch.c
index 1475d20bce54..a552df298a97 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;
}