HID: magicmouse: set Magic Trackpad 2021 name
authorJosé Expósito <jose.exposito89@gmail.com>
Sun, 12 Dec 2021 18:21:00 +0000 (19:21 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 6 Jan 2022 12:58:29 +0000 (13:58 +0100)
commit5768701edcb7d7ff8abaa085996a5c1cb30d765e
treeaf7a63bc9b486e87ea0b97d1e14e8347512b05a3
parent0aa45fcc42d82753a257abbc7138922d8250e06f
HID: magicmouse: set Magic Trackpad 2021 name

The Apple Magic Trackpad 2021 (3rd generation) has the same product ID
as the 2nd generation. However, when connected through Bluetooth, the
version has changed from 0x107 to 0x110.

The other meaningful change is that the name has dropped the generation
number and now it is just "Apple Inc. Magic Trackpad", like the first
generation model.

Set the device name correctly to ensure the same driver settings are
loaded, whether connected via Bluetooth or USB.

Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-magicmouse.c