Messages in this thread | | | Date | Wed, 21 Jan 2015 15:19:17 -0500 (EST) | From | Vivien Didelot <> | Subject | Re: [PATCH v2 2/3] asus-laptop: use DEVICE_ATTR_* macros |
| |
Hi Darren,
> > Use DEVICE_ATTR_{RO,WO,RW} macros to simplify attributes > > declarations. > > It does a lot more than that, including a lot of seemingly > superfluous reformatting of function declarations and renaming.
What do you mean? DEVICE_ATTR_RW(foo) requires foo_show() and foo_store() functions, not show_foo() and store_foo().
Thanks, -v
| |