HID: amd_sfh: Modify the hid name
[ Upstream commit10f865cdcf
] Modifying the amd-sfh hid name to meaningful name. Fixes:4b2c53d93a
("SFH:Transport Driver to add support of AMD Sensor Fusion Hub (SFH)") Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Родитель
21e8fc0c57
Коммит
319d60b748
|
@ -142,7 +142,7 @@ int amdtp_hid_probe(u32 cur_hid_dev, struct amdtp_cl_data *cli_data)
|
|||
hid->bus = BUS_AMD_SFH;
|
||||
hid->vendor = AMD_SFH_HID_VENDOR;
|
||||
hid->product = AMD_SFH_HID_PRODUCT;
|
||||
snprintf(hid->name, sizeof(hid->name), "%s %04X:%04X", "hid-amdtp",
|
||||
snprintf(hid->name, sizeof(hid->name), "%s %04X:%04X", "hid-amdsfh",
|
||||
hid->vendor, hid->product);
|
||||
|
||||
rc = hid_add_device(hid);
|
||||
|
|
Загрузка…
Ссылка в новой задаче