commit | cef1717b7ff9ad7de747aedb5d222936913570fd | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon May 04 17:10:48 2015 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue May 12 10:47:57 2015 +0200 |
tree | 6614b35559b213402831344867b2c7d583fe742f | |
parent | 427fdeef5014c77aea7ca10c104d534786c3c1e0 [diff] |
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>