commit | 6beac9d1aa9bf104b01816852131fa175c0a178b | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon May 04 17:10:34 2015 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue May 12 10:46:59 2015 +0200 |
tree | a07f56687a9e64e6b8e715cffc29207fee5c3156 | |
parent | 166a85e44245d771bd7042f3ad72aa0e12bb53bd [diff] |
gpio: sysfs: use DEVICE_ATTR macros Use DEVICE_ATTR_RO and DEVICE_ATTR_RW rather than specifying masks and callbacks directly. Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>