HID: alps: ALPS_1657 is too specific; use U1_UNICORN_LEGACY instead
authorJiri Kosina <jkosina@suse.cz>
Wed, 15 Apr 2020 12:51:42 +0000 (14:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 May 2020 15:46:28 +0000 (17:46 +0200)
commit7b481b802a8f95e0a7b74a97db6896ba351effdc
treea6bd0b07ae271fc47660b268f774f7bb66ca0f68
parenta08626f6e982425a9eaf2b6195c3b4c46c69402b
HID: alps: ALPS_1657 is too specific; use U1_UNICORN_LEGACY instead

[ Upstream commit 185af3e775b693f773d9a4b5a8c3cda69fc8ca0f ]

HID_DEVICE_ID_ALPS_1657 PID is too specific, as there are many other
ALPS hardware IDs using this particular touchpad.

Rename the identifier to HID_DEVICE_ID_ALPS_U1_UNICORN_LEGACY in order
to describe reality better.

Fixes: 640e403b1fd24 ("HID: alps: Add AUI1657 device ID")
Reported-by: Xiaojian Cao <xiaojian.cao@cn.alps.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hid/hid-alps.c
drivers/hid/hid-ids.h