diff options
author | Abanoub Sameh <abanoubsameh8@gmail.com> | 2020-07-21 16:50:46 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-07-21 19:12:57 +0300 |
commit | 37ceab74f12f00900734109ebf9b7a6a7791a9d0 (patch) | |
tree | e4387018265478be82f3d970e131a0a121d61ab5 /drivers/gpio | |
parent | 0c106a23d6927533df560bce7096454b0c228833 (diff) |
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.c | 1 |
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; } |