gpio: fixup line flags for userspace ABI
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Feb 2016 12:44:53 +0000 (13:44 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Feb 2016 12:44:53 +0000 (13:44 +0100)
commit9d8cc89c316d9cc8ff269068ac8f904f13b5a70d
treef6efe1eafa20feff5ec79fc15cf2ce295022e778
parent2307f3aab887bc43e0f262d298977fd9c6b9eee3
gpio: fixup line flags for userspace ABI

This fixes the wrongly indicated lines in the userspace
ABI: test for the right BITS, do not treat bit numbers as
bitmasks.

Reported-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c