Re: [PATCH] scripts: Add device_attr_<rw|ro|wr>.pl scripts to convert DEVICE_ATTR uses
From: Greg Kroah-Hartman
Date: Tue Jan 02 2018 - 10:58:47 EST
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