[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191217155801.GB14061@ninjato>
Date: Tue, 17 Dec 2019 16:58:01 +0100
From: Wolfram Sang <wsa@...-dreams.de>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] i2c: core: Use DEVICE_ATTR_*() helper macros
On Wed, Nov 13, 2019 at 04:23:06PM +0100, Geert Uytterhoeven wrote:
> Convert the i2c core sysfs attributes from DEVICE_ATTR() to
> DEVICE_ATTR_*(), to reduce boilerplate.
> This requires renaming some functions.
>
> Although no suitable macro exists for the delete_device attribute,
> rename i2c_sysfs_delete_device() to delete_device_store() for
> consistency.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
> Reviewed-by: Luca Ceresoli <luca@...aceresoli.net>
Applied to for-next, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists