]> git.baikalelectronics.ru Git - kernel.git/commit
HID: elecom: refer to trackballs by model name instead of series
authorTomasz Kramkowski <tk@the-tk.com>
Thu, 1 Mar 2018 17:22:23 +0000 (17:22 +0000)
committerJiri Kosina <jkosina@suse.cz>
Tue, 6 Mar 2018 14:15:47 +0000 (15:15 +0100)
commit27805a7c0e6c065cfff9ff4ae5785a27faaba433
treeb059a4153ece41329eb60a24136a4e3f953b1171
parent23eaa3be39d201f2b5f11234a073c972b1db3e38
HID: elecom: refer to trackballs by model name instead of series

This patch changes all references to ELECOM trackballs using their
series name to refer to them by their model name.

ELECOM provides multiple series of mice such as EX-G, HUGE, and DEFT.
Although it has not caused conflicts in the driver, there can be more
than one iteration of mice in each series. For example, there are 7
variants of EX-G trackballs but only three (M-XT3URBK, M-XT3DRBK, and
M-XT4DRBK) need a driver to work correctly.

There are also 4 DEFT series trackballs but two of them have the same
VID:PID as the other two. I picked the earlier model for the naming of
the PID macros.

Signed-off-by: Tomasz Kramkowski <tk@the-tk.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/hid-elecom.c
drivers/hid/hid-ids.h
drivers/hid/hid-quirks.c