OSDN Git Service

staging: vt6656: rename s_nsBulkOutIoCompleteWrite to vnt_tx_context_complete
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 15 Jul 2014 18:54:40 +0000 (19:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 19:11:40 +0000 (12:11 -0700)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/usbpipe.c

index db1bc1a..54badfe 100644 (file)
@@ -59,7 +59,7 @@
 
 static void vnt_start_interrupt_urb_complete(struct urb *urb);
 static void s_nsBulkInUsbIoCompleteRead(struct urb *urb);
-static void s_nsBulkOutIoCompleteWrite(struct urb *urb);
+static void vnt_tx_context_complete(struct urb *urb);
 
 int vnt_control_out(struct vnt_private *priv, u8 request, u16 value,
                u16 index, u16 length, u8 *buffer)
@@ -355,7 +355,7 @@ int vnt_tx_context(struct vnt_private *priv,
                        usb_sndbulkpipe(priv->usb, 3),
                        context->data,
                        context->buf_len,
-                       s_nsBulkOutIoCompleteWrite,
+                       vnt_tx_context_complete,
                        context);
 
        status = usb_submit_urb(urb, GFP_ATOMIC);
@@ -370,7 +370,7 @@ int vnt_tx_context(struct vnt_private *priv,
 }
 
 /*
- * Description: s_nsBulkOutIoCompleteWrite
+ * Description: vnt_tx_context_complete
  *     1a) Indicate to the protocol the status of the write.
  *     1b) Return ownership of the packet to the protocol.
  *
@@ -397,7 +397,7 @@ int vnt_tx_context(struct vnt_private *priv,
  *
  */
 
-static void s_nsBulkOutIoCompleteWrite(struct urb *urb)
+static void vnt_tx_context_complete(struct urb *urb)
 {
        struct vnt_usb_send_context *context = urb->context;
        struct vnt_private *priv = context->priv;