diff options
author | 2014-07-22 16:17:40 +0900 | |
---|---|---|
committer | 2014-07-23 17:37:51 +0200 | |
commit | 14141a9352d007434ff61df1e16a2bcaf3119307 (patch) | |
tree | f54c02c3344952004a08f1ea3f1913467c5fa357 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: remove export of private of_get_named_gpio_flags() (diff) | |
download | linux-dev-14141a9352d007434ff61df1e16a2bcaf3119307.tar.xz linux-dev-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions