summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-megaworld.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-04 13:30:52 +0200
committerJiri Kosina <jkosina@suse.cz>2022-08-25 10:36:28 +0200
commitb4a9af9be628e4f9d09997e0bdef30f6718e88ec (patch)
tree499dd6caa9c83b868e1ecc23fde6848c612d7028 /drivers/hid/hid-megaworld.c
parent8d9420ca9bd9bceddcfab3d0263d6a8e073396fe (diff)
HID: playstation: convert to use dev_groups
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-playstation 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: Roderick Colenbrander <roderick.colenbrander@sony.com> Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Roderick Colenbrander <roderick.colenbrander@sony.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-megaworld.c')
0 files changed, 0 insertions, 0 deletions