summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2014-07-22 11:17:40 +0400
committerLinus Walleij <linus.walleij@linaro.org>2014-07-23 19:37:51 +0400
commit14141a9352d007434ff61df1e16a2bcaf3119307 (patch)
treef54c02c3344952004a08f1ea3f1913467c5fa357 /ipc
parentf63ad7ed71e525b74fe486d25cdc788d6531f4a9 (diff)
downloadlinux-14141a9352d007434ff61df1e16a2bcaf3119307.tar.xz
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 'ipc')
0 files changed, 0 insertions, 0 deletions