Skip to content
Commit 44a47f0e authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by Jonathan Corbet
Browse files

sysfs.txt: add note on available attribute macros



The common cases of attributes wrappers should probably be using the
__ATTR_XXX macros to make code more concise and readable but the current
sysfs.txt does not point developers to those convenience macros. Further
there is no note in sysfs.txt currently explaining why trying to set a
sysfs file to mode 0666 will fail respectively revert to 0664.

Signed-off-by: default avatarNicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 8a3680e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment