]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: ath6kl: rename disconnect callback
authorJohan Hovold <johan@kernel.org>
Fri, 6 Mar 2026 08:51:28 +0000 (09:51 +0100)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Tue, 10 Mar 2026 15:27:55 +0000 (08:27 -0700)
Rename the disconnect callback so that it reflects the callback name for
consistency with the rest of the kernel (e.g. makes it easier to grep
for).

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260306085144.12064-3-johan@kernel.org
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath6kl/usb.c

index 814faf96f1ff41369ad2c2bcc5391538af055f75..79c18f5ee02bcbdd9c4e8d1ff1b8535d236a6782 100644 (file)
@@ -1175,7 +1175,7 @@ err_usb_destroy:
        return ret;
 }
 
-static void ath6kl_usb_remove(struct usb_interface *interface)
+static void ath6kl_usb_disconnect(struct usb_interface *interface)
 {
        ath6kl_usb_device_detached(interface);
 }
@@ -1227,7 +1227,7 @@ static struct usb_driver ath6kl_usb_driver = {
        .probe = ath6kl_usb_probe,
        .suspend = ath6kl_usb_pm_suspend,
        .resume = ath6kl_usb_pm_resume,
-       .disconnect = ath6kl_usb_remove,
+       .disconnect = ath6kl_usb_disconnect,
        .id_table = ath6kl_usb_ids,
        .supports_autosuspend = true,
        .disable_hub_initiated_lpm = 1,