]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: ath10k: rename disconnect callback
authorJohan Hovold <johan@kernel.org>
Fri, 6 Mar 2026 08:51:31 +0000 (09:51 +0100)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Tue, 10 Mar 2026 15:27:56 +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-6-johan@kernel.org
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath10k/usb.c

index ad1cf0681b19044b0e489b994869c88576f11ecc..987d57a01ddfa7cdf60dd3ee1d6aa7ea1f3bc68a 100644 (file)
@@ -1057,7 +1057,7 @@ err:
        return ret;
 }
 
-static void ath10k_usb_remove(struct usb_interface *interface)
+static void ath10k_usb_disconnect(struct usb_interface *interface)
 {
        struct ath10k_usb *ar_usb;
 
@@ -1113,7 +1113,7 @@ static struct usb_driver ath10k_usb_driver = {
        .probe = ath10k_usb_probe,
        .suspend = ath10k_usb_pm_suspend,
        .resume = ath10k_usb_pm_resume,
-       .disconnect = ath10k_usb_remove,
+       .disconnect = ath10k_usb_disconnect,
        .id_table = ath10k_usb_ids,
        .supports_autosuspend = true,
        .disable_hub_initiated_lpm = 1,