Browse Source

staging: emxx_udc: Fix CamelCase function name

Change EP0_out_PIO to use the kernel convention.

Signed-off-by: Afonso Bordado <afonsobordado@az8.co>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Afonso Bordado 8 years ago
parent
commit
34e89dd186
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/emxx_udc/emxx_udc.c

+ 2 - 2
drivers/staging/emxx_udc/emxx_udc.c

@@ -553,7 +553,7 @@ static void _nbu2ss_dma_unmap_single(
 
 
 /*-------------------------------------------------------------------------*/
 /*-------------------------------------------------------------------------*/
 /* Endpoint 0 OUT Transfer (PIO) */
 /* Endpoint 0 OUT Transfer (PIO) */
-static int EP0_out_PIO(struct nbu2ss_udc *udc, u8 *pBuf, u32 length)
+static int ep0_out_pio(struct nbu2ss_udc *udc, u8 *pBuf, u32 length)
 {
 {
 	u32		i;
 	u32		i;
 	int		nret   = 0;
 	int		nret   = 0;
@@ -758,7 +758,7 @@ static int _nbu2ss_ep0_out_transfer(
 		pBuffer = (u8 *)req->req.buf;
 		pBuffer = (u8 *)req->req.buf;
 		pBuffer += req->req.actual;
 		pBuffer += req->req.actual;
 
 
-		result = EP0_out_PIO(udc, pBuffer
+		result = ep0_out_pio(udc, pBuffer
 					, min(iRemainSize, iRecvLength));
 					, min(iRemainSize, iRecvLength));
 		if (result < 0)
 		if (result < 0)
 			return result;
 			return result;