mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
HID: hid-steam: Fix typo in goto label
s/stream/steam/ Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Link: https://patch.msgid.link/20240705045458.65108-2-thorsten.blum@toblux.com Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
This commit is contained in:
parent
ad1ff1f250
commit
8a25418ba6
@ -1267,7 +1267,7 @@ static int steam_probe(struct hid_device *hdev,
|
||||
steam->client_hdev = steam_create_client_hid(hdev);
|
||||
if (IS_ERR(steam->client_hdev)) {
|
||||
ret = PTR_ERR(steam->client_hdev);
|
||||
goto err_stream_unregister;
|
||||
goto err_steam_unregister;
|
||||
}
|
||||
steam->client_hdev->driver_data = steam;
|
||||
|
||||
@ -1279,7 +1279,7 @@ static int steam_probe(struct hid_device *hdev,
|
||||
|
||||
err_destroy:
|
||||
hid_destroy_device(steam->client_hdev);
|
||||
err_stream_unregister:
|
||||
err_steam_unregister:
|
||||
if (steam->connected)
|
||||
steam_unregister(steam);
|
||||
err_hw_close:
|
||||
|
Loading…
Reference in New Issue
Block a user