gpio: mockup: tweak line breaks
authorBartosz Golaszewski <brgl@bgdev.pl>
Mon, 27 Nov 2017 10:48:50 +0000 (11:48 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 2 Dec 2017 21:42:29 +0000 (22:42 +0100)
Minor readability tweak: prefer breaking the lines in a way where the
second part is longer than the first.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mockup.c

index 532f580..dfb9ee0 100644 (file)
@@ -88,16 +88,16 @@ static int gpio_mockup_get(struct gpio_chip *gc, unsigned int offset)
        return chip->lines[offset].value;
 }
 
-static void gpio_mockup_set(struct gpio_chip *gc, unsigned int offset,
-                           int value)
+static void gpio_mockup_set(struct gpio_chip *gc,
+                           unsigned int offset, int value)
 {
        struct gpio_mockup_chip *chip = gpiochip_get_data(gc);
 
        chip->lines[offset].value = !!value;
 }
 
-static int gpio_mockup_dirout(struct gpio_chip *gc, unsigned int offset,
-                             int value)
+static int gpio_mockup_dirout(struct gpio_chip *gc,
+                             unsigned int offset, int value)
 {
        struct gpio_mockup_chip *chip = gpiochip_get_data(gc);