Message ID | 20240705045458.65108-2-thorsten.blum@toblux.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 8a25418ba65a5d2494b369f6178a284c449bc399 |
Delegated to: | Jiri Kosina |
Headers | show |
Series | HID: hid-steam: Fix typo in goto label | expand |
On Fri, 05 Jul 2024 06:54:59 +0200, Thorsten Blum wrote: > s/stream/steam/ > > Applied to hid/hid.git (for-6.11/trivial), thanks! [1/1] HID: hid-steam: Fix typo in goto label https://git.kernel.org/hid/hid/c/8a25418ba65a Cheers,
diff --git a/drivers/hid/hid-steam.c b/drivers/hid/hid-steam.c index f166188c21ec..a765a48c0ab5 100644 --- a/drivers/hid/hid-steam.c +++ b/drivers/hid/hid-steam.c @@ -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:
s/stream/steam/ Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> --- drivers/hid/hid-steam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)