staging: vt6656: rename device_alloc_bufs to vnt_alloc_bufs
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 25 Jul 2014 19:51:50 +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 50955d24c7971c9a27707b2c81236bdcffadac69..fa0128f513ec009da433b85e16c5566108f0d168 100644 (file)
@@ -441,7 +441,7 @@ static void vnt_free_int_bufs(struct vnt_private *priv)
        return;
 }
 
-static bool device_alloc_bufs(struct vnt_private *priv)
+static bool vnt_alloc_bufs(struct vnt_private *priv)
 {
        struct vnt_usb_send_context *tx_context;
        struct vnt_rcb *rcb;
@@ -546,8 +546,8 @@ static int vnt_start(struct ieee80211_hw *hw)
 
        priv->rx_buf_sz = MAX_TOTAL_SIZE_WITH_ALL_HEADERS;
 
-       if (device_alloc_bufs(priv) == false) {
-               dev_dbg(&priv->usb->dev, "device_alloc_bufs fail...\n");
+       if (vnt_alloc_bufs(priv) == false) {
+               dev_dbg(&priv->usb->dev, "vnt_alloc_bufs fail...\n");
                return -ENOMEM;
        }