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
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