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

2019-02-14 Thread Greg Kroah-Hartman
On Thu, Feb 14, 2019 at 12:21:50PM +0100, Nicholas Mc Guire wrote: > The common cases of attributes 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 i

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

2019-02-14 Thread Nicholas Mc Guire
The common cases of attributes 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 066