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@xxxxxxxxx> > Cc: Hans de Goede <hdegoede@xxxxxxxxxx> > Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Cc: "jingle.wu" <jingle.wu@xxxxxxxxxx> > Cc: linux-input@xxxxxxxxxxxxxxx > Cc: linux-kernel@xxxxxxxxxxxxxxx > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > --- > 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@xxxxxxxxxxxxxxxxxxx