sysfs: create __ATTR_WO()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 22:02:01 +0000 (15:02 -0700)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 22 Dec 2014 17:50:40 +0000 (10:50 -0700)
commitcf5b765ecbf6721ac2fefef4fafc86610a95927a
tree054d7d67269c33a24ed3a5a752ba293869930698
parentd1adb5fedc4a30a5eba2b720da34ea1623e6dbf4
sysfs: create __ATTR_WO()

This creates the macro __ATTR_WO() for write-only attributes, instead of
having to "open define" them.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit a65fcce75a75c0d41b938f86d09d42b6f1733309)
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
include/linux/sysfs.h