[PATCH 2/5] HID: steam: Fix wording of connect/disconnect logs
Vicki Pfau <[email protected]> Tue, 4 Aug 2026 18:51:03 -0700
| Newsgroups | org.kernel.vger.linux-input |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- drivers/hid/hid-steam.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-steam.c b/drivers/hid/hid-steam.c index 111e57926d04..fdf32722c8b3 100644 --- a/drivers/hid/hid-steam.c +++ b/drivers/hid/hid-steam.c @@ -1397,7 +1397,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 */ @@ -1429,7 +1430,8 @@ static void steam_unregister(struct steam_device *steam) if (!steam->serial_no[0]) 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_battery_unregister(steam); steam_sensors_unregister(steam); -- 2.54.0