Skip to content
Commit ced321bf authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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: default avatarGuenter Roeck <linux@roeck-us.net>
Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e4b63603
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment