projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca8792a
)
gpio: mockup: change the type of value field in line state struct
author
Bartosz Golaszewski
<brgl@bgdev.pl>
Mon, 27 Nov 2017 10:48:46 +0000
(11:48 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Sat, 2 Dec 2017 21:42:27 +0000
(22:42 +0100)
GPIO values are universally represented as integers. Change the type
of the variable storing the current line value to int for consistency.
Signed-off-by: Bartosz Golaszewski <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
9a880e1
..
8a61328
100644
(file)
--- a/
drivers/gpio/gpio-mockup.c
+++ b/
drivers/gpio/gpio-mockup.c
@@
-48,7
+48,7
@@
enum {
*/
struct gpio_mockup_line_status {
int dir;
-
bool
value;
+
int
value;
};
struct gpio_mockup_chip {