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

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

index 76678c8fce0e1d681708d3ccf2eb11877d1f15f7..50955d24c7971c9a27707b2c81236bdcffadac69 100644 (file)
@@ -434,7 +434,7 @@ static void usb_device_reset(struct vnt_private *priv)
        return ;
 }
 
-static void device_free_int_bufs(struct vnt_private *priv)
+static void vnt_free_int_bufs(struct vnt_private *priv)
 {
        kfree(priv->int_buf.data_buf);
 
@@ -569,7 +569,7 @@ static int vnt_start(struct ieee80211_hw *hw)
 free_all:
        vnt_free_rx_bufs(priv);
        vnt_free_tx_bufs(priv);
-       device_free_int_bufs(priv);
+       vnt_free_int_bufs(priv);
 
        usb_kill_urb(priv->interrupt_urb);
        usb_free_urb(priv->interrupt_urb);
@@ -604,7 +604,7 @@ static void vnt_stop(struct ieee80211_hw *hw)
 
        vnt_free_tx_bufs(priv);
        vnt_free_rx_bufs(priv);
-       device_free_int_bufs(priv);
+       vnt_free_int_bufs(priv);
 
        usb_kill_urb(priv->interrupt_urb);
        usb_free_urb(priv->interrupt_urb);