[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9ac7a889-ca10-649e-9404-1f785645f8b8@lucaceresoli.net>
Date: Fri, 1 Nov 2019 22:56:32 +0100
From: Luca Ceresoli <luca@...aceresoli.net>
To: Geert Uytterhoeven <geert+renesas@...der.be>,
Wolfram Sang <wsa@...-dreams.de>
Cc: linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH resend] i2c: core: Use DEVICE_ATTR_RW() helper macros
Hi Geert,
On 25/10/19 11:19, Geert Uytterhoeven wrote:
> Convert the i2c core sysfs attributes from DEVICE_ATTR() to
> DEVICE_ATTR_RW(), to reduce boilerplate.
> This requires renaming some functions.
Nitpicking: it's DEVICE_ATTR_RO and _WO, not _RW (both here and in the
subject). I'd replace with 'DEVICE_ATTR_*()'.
With this fixed:
Reviewed-by: Luca Ceresoli <luca@...aceresoli.net>
--
Luca
Powered by blists - more mailing lists