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> Change-Id: I414c843ea6949dd580e0590f2900e53943a4bc0d
Loading
Please register or sign in to comment