]> git.baikalelectronics.ru Git - kernel.git/commit
HID: alps: Separate U1 device code
authorMasaki Ota <masaki.ota@jp.alps.com>
Fri, 6 Oct 2017 02:53:14 +0000 (11:53 +0900)
committerJiri Kosina <jkosina@suse.cz>
Tue, 17 Oct 2017 09:35:21 +0000 (11:35 +0200)
commit5d8c720d3b74413cc62d5015f23f57a51dc06112
treee37e36f0c070b4c8f9a3bcb84e6cd7ee1f37a57c
parentce6abcf83bf451159f421fe4f928147a882ec9da
HID: alps: Separate U1 device code

Create 'static int u1_init()' and factor out U1 device initialization code from
main initialization and introduce per-device 'has_sp' flag.

[jkosina@suse.cz: rewrite changelog]
Signed-off-by: Masaki Ota <masaki.ota@jp.alps.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-alps.c