]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: present the consumer of a line to userspace
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Feb 2016 20:01:48 +0000 (21:01 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Feb 2016 20:07:23 +0000 (21:07 +0100)
commit2616c2f8fdac5b816cd267cd5099c7315761c454
tree07ad030d3338a037874c3b1e80e5ad9e976f5fdc
parentd5f528f5821c2ae6b55e57c214854022c5c48e0a
gpio: present the consumer of a line to userspace

I named the field representing the current user of GPIO line as
"label" but this is too vague and ambiguous. Before anyone gets
confused, rename it to "consumer" and indicate clearly in the
documentation that this is a string set by the user of the line.

Also clean up leftovers in the documentation.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
include/uapi/linux/gpio.h
tools/gpio/lsgpio.c