staging: vt6656: rename device_free_rx_bufs to vnt_free_rx_bufs
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 25 Jul 2014 19:51:48 +0000 (20:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 16:03:43 +0000 (09:03 -0700)
changing vnt to device

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c

index 88484c8a9803ab332d7b77dbf193e2f1343876b6..76678c8fce0e1d681708d3ccf2eb11877d1f15f7 100644 (file)
@@ -397,7 +397,7 @@ static void vnt_free_tx_bufs(struct vnt_private *priv)
        return;
 }
 
-static void device_free_rx_bufs(struct vnt_private *priv)
+static void vnt_free_rx_bufs(struct vnt_private *priv)
 {
        struct vnt_rcb *rcb;
        int ii;
@@ -518,7 +518,7 @@ static bool device_alloc_bufs(struct vnt_private *priv)
        return true;
 
 free_rx_tx:
-       device_free_rx_bufs(priv);
+       vnt_free_rx_bufs(priv);
 
 free_tx:
        vnt_free_tx_bufs(priv);
@@ -567,7 +567,7 @@ static int vnt_start(struct ieee80211_hw *hw)
        return 0;
 
 free_all:
-       device_free_rx_bufs(priv);
+       vnt_free_rx_bufs(priv);
        vnt_free_tx_bufs(priv);
        device_free_int_bufs(priv);
 
@@ -603,7 +603,7 @@ static void vnt_stop(struct ieee80211_hw *hw)
        priv->cmd_running = false;
 
        vnt_free_tx_bufs(priv);
-       device_free_rx_bufs(priv);
+       vnt_free_rx_bufs(priv);
        device_free_int_bufs(priv);
 
        usb_kill_urb(priv->interrupt_urb);