sysfs: add more helper macro's for (bin_)attribute(_groups)
authorOliver Schinagl <oliver@schinagl.nl>
Sun, 14 Jul 2013 23:05:59 +0000 (16:05 -0700)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 22 Dec 2014 17:50:23 +0000 (10:50 -0700)
commitd1adb5fedc4a30a5eba2b720da34ea1623e6dbf4
tree8987daa6f1252950b54f99a6cf6014d2bc53be68
parent24006f88a31e8898a5c1067e603ffc6ba237ab91
sysfs: add more helper macro's for (bin_)attribute(_groups)

With the recent changes to sysfs there's various helper macro's.
However there's no RW, RO BIN_ helper macro's. This patch adds them.

Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 3493f69f4c4e8703961919a9a56c2d2e6a25b46f)
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Conflicts:
include/linux/sysfs.h
include/linux/sysfs.h