Re: [PATCH V2] sysfs.txt: add note on available attribute macros

2019-02-17 Thread Jonathan Corbet
On Fri, 15 Feb 2019 08:29:48 +0100 Nicholas Mc Guire wrote: > 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 no

[PATCH V2] sysfs.txt: add note on available attribute macros

2019-02-14 Thread Nicholas Mc Guire
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