[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150122162646.GA66191@vmdeb7>
Date: Thu, 22 Jan 2015 08:26:46 -0800
From: Darren Hart <dvhart@...radead.org>
To: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Cc: platform-driver-x86@...r.kernel.org,
Corentin Chary <corentin.chary@...il.com>,
acpi4asus-user@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
kernel@...oirfairelinux.com
Subject: Re: [PATCH v2 2/3] asus-laptop: use DEVICE_ATTR_* macros
On Wed, Jan 21, 2015 at 03:19:17PM -0500, Vivien Didelot wrote:
> 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().
Ah yes, of course. Perhaps obvious in hindsight, but a bit more explanation in
the commit message would have eliminated the confusion.
Always provide enough information in your commit log to explain to someone else
that hasn't been looking at the code as recently as you have to understand the
problem, the solution, and which provides sufficient explanation for all changes
included in the patch.
Please resubmit with a more complete commit message.
--
Darren Hart
Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists