提交 5b7908c0 编写于 作者: B Bartosz Golaszewski 提交者: Linus Walleij

gpio: mockup: change the type of value field in line state struct

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: NBartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 ca8792af
......@@ -48,7 +48,7 @@ enum {
*/
struct gpio_mockup_line_status {
int dir;
bool value;
int value;
};
struct gpio_mockup_chip {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册