Shorter lines that way.

Signed-off-by: Kalle Valo <kv...@qca.qualcomm.com>
---
 drivers/net/wireless/ath/ath10k/hif.h |   12 ++++++------
 drivers/net/wireless/ath/ath10k/htc.c |    4 ++--
 drivers/net/wireless/ath/ath10k/pci.c |   15 ++++++++-------
 3 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/drivers/net/wireless/ath/ath10k/hif.h 
b/drivers/net/wireless/ath/ath10k/hif.h
index a5e6422..6983a0c 100644
--- a/drivers/net/wireless/ath/ath10k/hif.h
+++ b/drivers/net/wireless/ath/ath10k/hif.h
@@ -22,12 +22,12 @@
 #include "core.h"
 
 struct ath10k_hif_cb {
-       int (*tx_completion_handler)(struct ath10k *ar,
-                                    struct sk_buff *wbuf,
-                                     unsigned transfer_id);
-       int (*rx_completion_handler)(struct ath10k *ar,
-                                    struct sk_buff *wbuf,
-                                    u8 pipe_id);
+       int (*tx_completion)(struct ath10k *ar,
+                            struct sk_buff *wbuf,
+                            unsigned transfer_id);
+       int (*rx_completion)(struct ath10k *ar,
+                            struct sk_buff *wbuf,
+                            u8 pipe_id);
 };
 
 struct ath10k_hif_ops {
diff --git a/drivers/net/wireless/ath/ath10k/htc.c 
b/drivers/net/wireless/ath/ath10k/htc.c
index 42106ef..666b1fb 100644
--- a/drivers/net/wireless/ath/ath10k/htc.c
+++ b/drivers/net/wireless/ath/ath10k/htc.c
@@ -1023,8 +1023,8 @@ struct ath10k_htc *ath10k_htc_create(struct ath10k *ar,
        ath10k_htc_reset_endpoint_states(htc);
 
        /* setup HIF layer callbacks */
-       htc_callbacks.rx_completion_handler = ath10k_htc_rx_completion_handler;
-       htc_callbacks.tx_completion_handler = ath10k_htc_tx_completion_handler;
+       htc_callbacks.rx_completion = ath10k_htc_rx_completion_handler;
+       htc_callbacks.tx_completion = ath10k_htc_tx_completion_handler;
        htc->ar = ar;
 
        /* Get HIF default pipe for HTC message exchange */
diff --git a/drivers/net/wireless/ath/ath10k/pci.c 
b/drivers/net/wireless/ath/ath10k/pci.c
index cb2e88e..a7315ca 100644
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -894,9 +894,9 @@ static void ath10k_pci_process_ce(struct ath10k *ar)
                spin_unlock_bh(&ar_pci->compl_lock);
 
                if (compl->send_or_recv == HIF_CE_COMPLETE_SEND) {
-                       cb->tx_completion_handler(ar,
-                                                 compl->transfer_context,
-                                                 compl->transfer_id);
+                       cb->tx_completion(ar,
+                                         compl->transfer_context,
+                                         compl->transfer_id);
                        send_done = 1;
                } else {
                        ret = ath10k_pci_post_rx_pipe(compl->pipe_info, 1);
@@ -918,8 +918,8 @@ static void ath10k_pci_process_ce(struct ath10k *ar)
                        if (skb->len + skb_tailroom(skb) >= nbytes) {
                                skb_trim(skb, 0);
                                skb_put(skb, nbytes);
-                               cb->rx_completion_handler(ar, skb,
-                                                         
compl->pipe_info->pipe_num);
+                               cb->rx_completion(ar, skb,
+                                                 compl->pipe_info->pipe_num);
                        } else {
                                ath10k_warn("%s: rxed more than expected 
(nbytes %d, max %d)",
                                           __func__, nbytes,
@@ -1170,8 +1170,9 @@ static void ath10k_pci_tx_pipe_cleanup(struct 
hif_ce_pipe_info *pipe_info)
                         * the buffer
                         */
                        ATH10K_SKB_CB(netbuf)->is_aborted = true;
-                       ar_pci->msg_callbacks_current.tx_completion_handler(
-                                                       ar, netbuf, id);
+                       ar_pci->msg_callbacks_current.tx_completion(ar,
+                                                                   netbuf,
+                                                                   id);
        }
 }
 

_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to