summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-exar.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2022-09-22 11:51:24 +0200
committerBartosz Golaszewski <brgl@bgdev.pl>2022-09-26 14:15:38 +0200
commit0ae3109a839192920f09338e9abc4d5321107865 (patch)
tree26b0bc8c7d79a2dc4f3edf81d0ae1077972fb851 /drivers/gpio/gpio-exar.c
parent361c1ca384c93013e08bd117e4fe23ca9739e3f7 (diff)
gpiolib: cdev: add fdinfo output for line request file descriptors
Add fdinfo output for file descriptors created for user-space line requests in GPIO uAPI v2. The fdinfo file now contains the name of the GPIO chip that is the "parent" of the request as well as offsets of the lines requested. This allows user-space to parse the /proc/$PID/fdinfo entries and deduce the PID of the process that requested a specific line. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Reviewed-by: Kent Gibson <warthog618@gmail.com>
Diffstat (limited to 'drivers/gpio/gpio-exar.c')
0 files changed, 0 insertions, 0 deletions