[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YulVY/QRFe/ey3tZ@kroah.com>
Date: Tue, 2 Aug 2022 18:48:35 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-input@...r.kernel.org
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Hans de Goede <hdegoede@...hat.com>,
"jingle.wu" <jingle.wu@....com.tw>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Input: elan_i2c - convert to use dev_groups
On Fri, Jul 29, 2022 at 03:58:16PM +0200, Greg Kroah-Hartman 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: Dmitry Torokhov <dmitry.torokhov@...il.com>
> Cc: Hans de Goede <hdegoede@...hat.com>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Cc: "jingle.wu" <jingle.wu@....com.tw>
> Cc: linux-input@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> ---
> drivers/input/mouse/elan_i2c_core.c | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
v2 is now here:
https://lore.kernel.org/r/20220802162854.3015369-1-gregkh@linuxfoundation.org
Powered by blists - more mailing lists