staging: vt6656: rename PIPEnsBulkInUsbRead to vnt_submit_rx_urb
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 15 Jul 2014 18:54:41 +0000 (19:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 19:11:40 +0000 (12:11 -0700)
The function just submits to rx urbs.

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

index 9890f7db1650a5b6175a26af8526a2586020b99b..b1da23c18aac405ff82702ca8881e8417dece410 100644 (file)
@@ -603,7 +603,7 @@ static bool device_alloc_bufs(struct vnt_private *priv)
                rcb->bBoolInUse = false;
 
                /* submit rx urb */
-               if (PIPEnsBulkInUsbRead(priv, rcb))
+               if (vnt_submit_rx_urb(priv, rcb))
                        goto free_rx_tx;
        }
 
index 54badfe5f9fe3eb5380ae9185d5047591649676b..97ad3b6c3d7c4104b2032b163d05ba431e3bf980 100644 (file)
@@ -225,7 +225,7 @@ static void vnt_start_interrupt_urb_complete(struct urb *urb)
  *
  */
 
-int PIPEnsBulkInUsbRead(struct vnt_private *priv, struct vnt_rcb *rcb)
+int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb)
 {
        int status = 0;
        struct urb *urb;
index 49c284fde907e1086e528bece08225793d7b074a..e74aa08099283d5c86f19d3ff250a19ddbe48262 100644 (file)
@@ -39,7 +39,7 @@ void vnt_control_out_u8(struct vnt_private *, u8, u8, u8);
 void vnt_control_in_u8(struct vnt_private *, u8, u8, u8 *);
 
 int vnt_start_interrupt_urb(struct vnt_private *);
-int PIPEnsBulkInUsbRead(struct vnt_private *, struct vnt_rcb *pRCB);
+int vnt_submit_rx_urb(struct vnt_private *, struct vnt_rcb *);
 int vnt_tx_context(struct vnt_private *, struct vnt_usb_send_context *);
 
 #endif /* __USBPIPE_H__ */