summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-06 09:51:31 +0100
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2026-03-10 08:27:56 -0700
commitfcc3555fce3c35333891e904c3592375d5e63cf4 (patch)
treed53a4392103126dccb87324c411788622c3afea0 /drivers/net/wireless/ath
parentc880c0794076f04b0058dd5cbc1f94c33d7bff44 (diff)
downloadlwn-fcc3555fce3c35333891e904c3592375d5e63cf4.tar.gz
lwn-fcc3555fce3c35333891e904c3592375d5e63cf4.zip
wifi: ath10k: rename disconnect callback
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>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r--drivers/net/wireless/ath/ath10k/usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath10k/usb.c b/drivers/net/wireless/ath/ath10k/usb.c
index ad1cf0681b19..987d57a01ddf 100644
--- a/drivers/net/wireless/ath/ath10k/usb.c
+++ b/drivers/net/wireless/ath/ath10k/usb.c
@@ -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,