Messages in this thread | | | Date | Tue, 2 Jan 2018 16:47:01 +0100 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH] scripts: Add device_attr_<rw|ro|wr>.pl scripts to convert DEVICE_ATTR uses |
| |
On Tue, Jan 02, 2018 at 07:34:30AM -0800, Joe Perches wrote: > On Sat, 2017-12-23 at 15:19 +0100, Greg Kroah-Hartman wrote: > > On Fri, Dec 22, 2017 at 12:02:47PM -0800, Joe Perches wrote: > > > There are many uses of the DEVICE_ATTR(var, perms, show, store) > > > declaration macro that could use one of the convenience macros > > > DEVICE_ATTR_RW, DEVICE_ATTR_RO, or DEVICE_ATTR_WO. > > > > > > These scripts automate those conversions. > > Hey Greg. Are you going to use these scripts?
Yes, when I get a chance, kind of busy for the next few weeks with other stuff though :(
greg k-h
| |