[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220729185338.2bba32f5@dellmb>
Date: Fri, 29 Jul 2022 18:53:38 +0200
From: Marek Behún <kabel@...nel.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-leds@...r.kernel.org, Pavel Machek <pavel@....cz>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] leds: turris-omnia: convert to use dev_groups
On Fri, 29 Jul 2022 16:03:46 +0200
Greg Kroah-Hartman <gregkh@...uxfoundation.org> wrote:
> The driver core supports the ability to handle the creation and removal
> of device-specific sysfs files in a race-free manner. Take advantage of
> that by converting this driver to use this by moving the sysfs
> attributes into a group and assigning the dev_groups pointer to it.
>
> Cc: "Marek Behún" <kabel@...nel.org>
> Cc: Pavel Machek <pavel@....cz>
> Cc: linux-leds@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Reviewed-by: Marek Behún <kabel@...nel.org>
Powered by blists - more mailing lists