diff options
| author | Alexandre Courbot <[email protected]> | 2014-07-22 07:17:40 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2014-07-23 15:37:51 +0000 |
| commit | 14141a9352d007434ff61df1e16a2bcaf3119307 (patch) | |
| tree | f54c02c3344952004a08f1ea3f1913467c5fa357 /drivers/gpio/gpiolib.c | |
| parent | gpio: remove export of private of_get_named_gpio_flags() (diff) | |
| download | kernel-14141a9352d007434ff61df1e16a2bcaf3119307.tar.gz kernel-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 <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
0 files changed, 0 insertions, 0 deletions
