]> git.baikalelectronics.ru Git - kernel.git/commit
sysfs.h: add __ATTR_RW() macro
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 Jul 2013 23:05:51 +0000 (16:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Jul 2013 17:57:36 +0000 (10:57 -0700)
commitbf84218277dbc29c81ee11f09da524381f155e57
tree220c5b779b174f5464ab64e68a85c1889a874b22
parent37292c01f7e0a67d852600110ad6986f05524472
sysfs.h: add __ATTR_RW() macro

A number of parts of the kernel created their own version of this, might
as well have the sysfs core provide it instead.

Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/sysfs.h
kernel/events/core.c
mm/backing-dev.c