HID: steam: Fix wording of connect/disconnect logs

It always said Controller, even on Deck. Since we special-case other
instances of Controller vs. Deck in strings, let's be consistent here too.

Signed-off-by: Vicki Pfau <vi@endrift.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
This commit is contained in:
Vicki Pfau 2026-08-11 18:13:54 -07:00 committed by Jiri Kosina
parent 0a80b4e8ec
commit 0a0028c2aa

View File

@ -1391,7 +1391,8 @@ static int steam_register(struct steam_device *steam)
"%s:steam_get_attributes failed with error %d\n",
__func__, ret);
hid_info(steam->hdev, "Steam Controller '%s' connected",
hid_info(steam->hdev, "Steam %s '%s' connected",
steam->quirks & STEAM_QUIRK_DECK ? "Deck" : "Controller",
steam->serial_no);
/* ignore battery errors, we can live without it */
@ -1428,7 +1429,8 @@ static void steam_unregister(struct steam_device *steam)
if (!steam->registered)
return;
hid_info(steam->hdev, "Steam Controller '%s' disconnected",
hid_info(steam->hdev, "Steam %s '%s' disconnected",
steam->quirks & STEAM_QUIRK_DECK ? "Deck" : "Controller",
steam->serial_no);
steam->registered = false;
steam_battery_unregister(steam);