aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-timberdale.c
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2014-07-22 16:17:40 +0900
committerLinus Walleij <linus.walleij@linaro.org>2014-07-23 17:37:51 +0200
commit14141a9352d007434ff61df1e16a2bcaf3119307 (patch)
treef54c02c3344952004a08f1ea3f1913467c5fa357 /drivers/gpio/gpio-timberdale.c
parentf63ad7ed71e525b74fe486d25cdc788d6531f4a9 (diff)
downloadkernel_replicant_linux-14141a9352d007434ff61df1e16a2bcaf3119307.tar.gz
kernel_replicant_linux-14141a9352d007434ff61df1e16a2bcaf3119307.tar.bz2
kernel_replicant_linux-14141a9352d007434ff61df1e16a2bcaf3119307.zip
gpio: simplify gpiochip_export()
For some reason gpiochip_export() would invalidate all the descriptors of a chip if exporting it to sysfs failed. This does not appear as necessary. Remove that part of the code. While we are at it, add a note about the non-safety of temporarily releasing a spinlock in the middle of the loop that protects its iterator, and explain why this is done. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-timberdale.c')
0 files changed, 0 insertions, 0 deletions