Skip to content
Commit df4878e9 authored by Linus Walleij's avatar Linus Walleij
Browse files

gpio: store reflect the label to userspace



The gpio_chip label is useful for userspace to understand what
kind of GPIO chip it is dealing with. Let's store a copy of this
label in the gpio_device, add it to the struct passed to userspace
for GPIO_GET_CHIPINFO_IOCTL and modify lsgpio to show it.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 0a7439ef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment