]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
gpio: mockup: coding-style fix
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 10 Feb 2020 15:50:59 +0000 (16:50 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 20 Feb 2020 14:41:05 +0000 (15:41 +0100)
The indentation is wrong in gpio_mockup_apply_pull(). This patch makes
the code more readable.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Link: https://lore.kernel.org/r/20200210155059.29609-1-brgl@bgdev.pl
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mockup.c

index 7d343bea784afe3c021d22ec66cdd8d796e5ae21..3eb94f3740d1423337c8175ad4d279df8155a370 100644 (file)
@@ -171,7 +171,7 @@ static int gpio_mockup_apply_pull(struct gpio_mockup_chip *chip,
 
        /* Change the value unless we're actively driving the line. */
        if (!test_bit(FLAG_REQUESTED, &desc->flags) ||
-               !test_bit(FLAG_IS_OUT, &desc->flags))
+           !test_bit(FLAG_IS_OUT, &desc->flags))
                __gpio_mockup_set(chip, offset, value);
 
 out: