[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150127031308.GC3585@vmdeb7>
Date: Mon, 26 Jan 2015 19:13:09 -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 v3 1/2] asus-laptop: use DEVICE_ATTR_xx macros
On Fri, Jan 23, 2015 at 09:01:10AM -0500, Vivien Didelot wrote:
> Use DEVICE_ATTR_{RO,WO,RW} macros to simplify sysfs attributes
> declaration.
>
> To declare a "foo" attribute, DEVICE_ATTR_RW() requires foo_show() and
> foo_store(), so rename a few functions to satisfy this requirement.
>
> Also put the macro below each related show/store functions for clarity.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Thanks for the update. Queued for 3.20.
--
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