]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: device.h: add RW and RO attribute macros
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 Jul 2013 23:05:54 +0000 (16:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Jul 2013 17:57:36 +0000 (10:57 -0700)
commitc8cf1341f9450eb777f5a9719f7fee67de8a3a91
tree34a2138580124c0a41c90c25bb450d0deba2e711
parentfa8a9fdc4b7842d6a13fabe962dc672b680b298e
driver core: device.h: add RW and RO attribute macros

Make it easier to create attributes without having to always audit the
mode settings.

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/device.h