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)
commit79837eded640501206a60fb68e76ad2d027457ec
treeb059a4153ece41329eb60a24136a4e3f953b1171
parent183b6366cf473ff0e706a6751adc082faa44843d
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