From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751057AbeABP6o (ORCPT + 1 other); Tue, 2 Jan 2018 10:58:44 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:44038 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751018AbeABP6m (ORCPT ); Tue, 2 Jan 2018 10:58:42 -0500 Date: Tue, 2 Jan 2018 16:47:01 +0100 From: Greg Kroah-Hartman To: Joe Perches Cc: linux-kernel@vger.kernel.org, Julia Lawall Subject: Re: [PATCH] scripts: Add device_attr_.pl scripts to convert DEVICE_ATTR uses Message-ID: <20180102154701.GA5467@kroah.com> References: <863ff80559b868614cd965b431b07a99ca52509a.1513972839.git.joe@perches.com> <20171223141929.GA6228@kroah.com> <1514907270.31497.0.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1514907270.31497.0.camel@perches.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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