Re: [PATCH] HID: vivaldi: convert to use dev_groups
From: Jiri Kosina
Date: Thu Aug 25 2022 - 05:37:41 EST
On Thu, 4 Aug 2022, Greg Kroah-Hartman wrote:
> There is no need for a driver to individually add/create device groups,
> the driver core will do it automatically for you. Convert the
> hid-vivaldi core driver to use the dev_groups pointer instead of
> manually calling the driver core to create the group and have it be
> cleaned up later on by the devm core.
>
> Cc: Jiri Kosina <jikos@xxxxxxxxxx>
> Cc: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
> Cc: linux-input@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Applied, thanks Greg.
--
Jiri Kosina
SUSE Labs