gpio: sysfs: preparatory clean ups
authorJohan Hovold <johan@kernel.org>
Mon, 4 May 2015 15:10:29 +0000 (17:10 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 12 May 2015 08:46:36 +0000 (10:46 +0200)
commitcecf58ab551f746c1e2b549d90b51a94b442d1e0
tree2e474cc54ad3a9071e50db25d731947b4d4fabf0
parent52176d0d3be29ccb01a44ee77532bb3969939ecf
gpio: sysfs: preparatory clean ups

Put the recently introduced gpio-chip pointer to some more use in
gpiod_export.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-sysfs.c