]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c2d9026457cb1351dbb38a4b620f7a2d0b814a2
tree177f26e54822c42aac33b21320efee8abd3f3cc8
parentb5f742ee1b97ee1cbb34918642faa94cef7814c2
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