Thread (2 messages) 2 messages, 2 authors, 2022-08-25

Re: [PATCH] HID: vivaldi: convert to use dev_groups

From: Jiri Kosina <jikos@kernel.org>
Date: 2022-08-25 09:37:41
Also in: lkml

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@kernel.org>
Cc: Benjamin Tissoires <redacted>
Cc: linux-input@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Applied, thanks Greg.

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help