diff options
| author | Johan Hovold <johan@kernel.org> | 2015-05-04 18:10:48 +0300 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2015-05-12 11:47:57 +0300 |
| commit | cef1717b7ff9ad7de747aedb5d222936913570fd (patch) | |
| tree | 6614b35559b213402831344867b2c7d583fe742f /lib/mpi/mpiutil.c | |
| parent | 427fdeef5014c77aea7ca10c104d534786c3c1e0 (diff) | |
| download | linux-cef1717b7ff9ad7de747aedb5d222936913570fd.tar.xz | |
gpio: sysfs: move irq trigger flags to class-device data
Move irq trigger flags, which as sysfs-interface specific, to the class
device data.
This avoids accessing the gpio-descriptor flags field using non-atomic
operations without any locking, and allows for a more clear separation
of the sysfs interface from gpiolib core.
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
