OSDN Git Service

gpio: mockup: change the type of value field in line state struct
authorBartosz Golaszewski <brgl@bgdev.pl>
Mon, 27 Nov 2017 10:48:46 +0000 (11:48 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 2 Dec 2017 21:42:27 +0000 (22:42 +0100)
commit5b7908c024ae6e3f21af077d4841d20f9a9567b9
treeed0833e7a82c9825f38c03b64b3aa324d4d58282
parentca8792af40afb1e83e6910eac1bc48a91694fba3
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: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mockup.c