[PATCH 1/6] sysfs.h: add __ATTR_RW() macro

2013-07-10 Thread Greg Kroah-Hartman
A number of parts of the kernel created their own version of this, might as well have the sysfs core provide it instead. Signed-off-by: Greg Kroah-Hartman --- include/linux/sysfs.h | 2 ++ kernel/events/core.c | 2 -- mm/backing-dev.c | 2 -- 3 files changed, 2 insertions(+), 4

[PATCH 1/6] sysfs.h: add __ATTR_RW() macro

2013-07-10 Thread Greg Kroah-Hartman
A number of parts of the kernel created their own version of this, might as well have the sysfs core provide it instead. Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- include/linux/sysfs.h | 2 ++ kernel/events/core.c | 2 -- mm/backing-dev.c | 2 -- 3 files changed, 2