[lkml]   [2017]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] scripts: Add device_attr_<rw|ro|wr>.pl scripts to convert DEVICE_ATTR uses
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
> >
> > These scripts automate those conversions.
> We should just fix up all in-kernel users, no need to put the scripts in
> the kernel source tree, right?

There's really no need for these scripts in the kernel-tree
just as there's no real need for any coccinelle script once
any conversion is fully done.

Keeping the scripts around can help find more opportunities
for conversion as new code is added.

 \ /
  Last update: 2017-12-23 15:25    [W:0.065 / U:0.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site