OSDN Git Service

sysfs: create __ATTR_WO()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 22:02:01 +0000 (15:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 22:02:01 +0000 (15:02 -0700)
commita65fcce75a75c0d41b938f86d09d42b6f1733309
tree177f26e54822c42aac33b21320efee8abd3f3cc8
parentd06262e58546e5bf5669ef185fb913cca4637bd6
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>
include/linux/sysfs.h