]> 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)
commit5e01dffab441851aa75709e8aedcbfebeceee16d
tree577796c9bda4e5663207717afdfd79b054764b9c
parent9886be1a48343868547e0dacfefab28770837014
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