Commit 34e89dd1 authored by Afonso Bordado's avatar Afonso Bordado Committed by Greg Kroah-Hartman

staging: emxx_udc: Fix CamelCase function name

Change EP0_out_PIO to use the kernel convention.
Signed-off-by: default avatarAfonso Bordado <afonsobordado@az8.co>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4f344506
...@@ -553,7 +553,7 @@ static void _nbu2ss_dma_unmap_single( ...@@ -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( ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment