wifi: rtw88: fix typo rtw8822cu_probe
authorPo-Hao Huang <phhuang@realtek.com>
Fri, 25 Aug 2023 06:24:04 +0000 (14:24 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 4 Sep 2023 17:31:07 +0000 (20:31 +0300)
The probe function of 8822cu is misplaced to 8822bu, so we fix it. Just
cosmetics, no changes in functionality.

Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230825062404.50813-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/rtw8822cu.c

index af28ca09d41fb18a4fc988bda30092777f231d41..157d5102a4b1db8faa6207a9fb44b7720ae227f7 100644 (file)
@@ -25,7 +25,7 @@ static const struct usb_device_id rtw_8822cu_id_table[] = {
 };
 MODULE_DEVICE_TABLE(usb, rtw_8822cu_id_table);
 
-static int rtw8822bu_probe(struct usb_interface *intf,
+static int rtw8822cu_probe(struct usb_interface *intf,
                           const struct usb_device_id *id)
 {
        return rtw_usb_probe(intf, id);
@@ -34,7 +34,7 @@ static int rtw8822bu_probe(struct usb_interface *intf,
 static struct usb_driver rtw_8822cu_driver = {
        .name = "rtw_8822cu",
        .id_table = rtw_8822cu_id_table,
-       .probe = rtw8822bu_probe,
+       .probe = rtw8822cu_probe,
        .disconnect = rtw_usb_disconnect,
 };
 module_usb_driver(rtw_8822cu_driver);