projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b36368f
)
gpio: mockup: coding-style fix
author
Bartosz Golaszewski
<bgolaszewski@baylibre.com>
Mon, 10 Feb 2020 15:50:59 +0000
(16:50 +0100)
committer
Linus 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
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-mockup.c
b/drivers/gpio/gpio-mockup.c
index
7d343be
..
3eb94f3
100644
(file)
--- a/
drivers/gpio/gpio-mockup.c
+++ b/
drivers/gpio/gpio-mockup.c
@@
-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: