aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAbanoub Sameh <abanoubsameh8@gmail.com>2020-07-21 16:51:04 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-07-22 16:00:27 +0300
commit4941b8dedb3f33dcca5c6aef919ea518ff8947ce (patch)
treef586115721b662b88ab3d6a24621e0765ec7698b /drivers/gpio
parentgpio: sch: changed every 'unsigned' to 'unsigned int' (diff)
downloadwireguard-linux-4941b8dedb3f33dcca5c6aef919ea518ff8947ce.tar.xz
wireguard-linux-4941b8dedb3f33dcca5c6aef919ea518ff8947ce.zip
gpio: sch: 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-sch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-sch.c b/drivers/gpio/gpio-sch.c
index d7cade67717b..3a1b1adb08c6 100644
--- a/drivers/gpio/gpio-sch.c
+++ b/drivers/gpio/gpio-sch.c
@@ -89,6 +89,7 @@ static int sch_gpio_direction_in(struct gpio_chip *gc, unsigned int gpio_num)
static int sch_gpio_get(struct gpio_chip *gc, unsigned int gpio_num)
{
struct sch_gpio *sch = gpiochip_get_data(gc);
+
return sch_gpio_reg_get(sch, gpio_num, GLV);
}