ath9k: Fix typo in function name
Subsystems (3)
PATCH 1/1 ath9k: Fix typo in function name
Typo "destoy" made me wonder if correct patch is wrong; fix it. No functional change.
Signed-off-by Pavel Machek (CIP) <[email protected]>
drivers/net/wireless/ath/ath9k/hif_usb.c +1 -1
@@ -1373,7 +1373,7 @@ static void ath9k_hif_usb_disconnect(struct usb_interface *interface)if (hif_dev->flags &HIF_USB_READY ) {ath9k_htc_hw_deinit (hif_dev->htc_handle, unplugged);ath9k_hif_usb_dev_deinit (hif_dev); -ath9k_destoy_wmi (hif_dev->htc_handle->drv_priv); +ath9k_destroy_wmi (hif_dev->htc_handle->drv_priv);ath9k_htc_hw_free (hif_dev->htc_handle); }
drivers/net/wireless/ath/ath9k/htc_drv_init.c +1 -1
@@ -973,7 +973,7 @@ int ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev,ath9k_stop_wmi (priv); hif_dev = (struct hif_device_usb *)htc_handle->hif_dev;ath9k_hif_usb_dealloc_urbs (hif_dev); -ath9k_destoy_wmi (priv); +ath9k_destroy_wmi (priv); err_free:ieee80211_free_hw (hw);return ret;
drivers/net/wireless/ath/ath9k/wmi.c +1 -1
@@ -121,7 +121,7 @@ void ath9k_stop_wmi(struct ath9k_htc_priv *priv)mutex_unlock (&wmi->op_mutex); } -void ath9k_destoy_wmi (struct ath9k_htc_priv *priv) +void ath9k_destroy_wmi (struct ath9k_htc_priv *priv) {kfree (priv->wmi); }
drivers/net/wireless/ath/ath9k/wmi.h +1 -1
@@ -189,7 +189,7 @@ void ath9k_wmi_event_tasklet(unsigned long data);void ath9k_fatal_work (struct work_struct *work);void ath9k_wmi_event_drain (struct ath9k_htc_priv *priv);void ath9k_stop_wmi (struct ath9k_htc_priv *priv); -void ath9k_destoy_wmi (struct ath9k_htc_priv *priv); +void ath9k_destroy_wmi (struct ath9k_htc_priv *priv);#define WMI_CMD (_wmi_cmd) \ do { \
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 5 lines · Pavel Machek
Typo "destoy" made me wonder if correct patch is wrong; fix it. No functional change.
Signed-off-by Pavel Machek (CIP) <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
743adae9da12 ath9k: Fix typo in function name
Signature · 3 lines
https://patchwork.kernel.org/patch/11682639/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches