gpio: move descriptors into gpio_device
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 9 Feb 2016 12:51:59 +0000 (13:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 11 Feb 2016 19:29:45 +0000 (20:29 +0100)
commit1c3cdb186172ee3be24005a7ff0e849bc17b67b8
tree56802f31391f6f4448579f0525b766fb0379e475
parentafbc4f312b5e6e87fcd383eb6764e09f1324c78e
gpio: move descriptors into gpio_device

We need gpio_device to hold the descriptors so that they can
be lifecycled with the struct gpio_device held from userspace.
Move the descriptor array into gpio_device. Also rename it from
"desc" (singularis) to "descs" (pluralis) to reflect the fact
that it is an array.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-sysfs.c
drivers/gpio/gpiolib.c
drivers/gpio/gpiolib.h
include/linux/gpio/driver.h
This page took 0.029558 seconds and 5 git commands to generate.