]> git.baikalelectronics.ru Git - kernel.git/commit
HID: core: rewrite the hid-generic automatic unbind
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 8 Dec 2017 14:29:44 +0000 (15:29 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 6 Mar 2018 15:00:51 +0000 (16:00 +0100)
commit9060521caa85b8069034dde8f3529024a8b761f5
tree577796c9bda4e5663207717afdfd79b054764b9c
parent86e75a126053c10d84aed3ef3e852285e63711b2
HID: core: rewrite the hid-generic automatic unbind

We actually can have the unbind/rebind logic in hid-core.c, leaving
only the match function in hid-generic.

This makes hid-generic simpler and the whole logic simpler too.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-generic.c
include/linux/hid.h