From: Afonso Bordado Date: Tue, 20 Dec 2016 13:55:08 +0000 (+0000) Subject: staging: emxx_udc: Fix CamelCase variable name X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=af1550cce0b55a9c6fa37a84301bd893bdf6997e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: emxx_udc: Fix CamelCase variable name Changes from CamelCase to a kernel format Signed-off-by: Afonso Bordado Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c index 8e22c55ca698..77b242e09932 100644 --- a/drivers/staging/emxx_udc/emxx_udc.c +++ b/drivers/staging/emxx_udc/emxx_udc.c @@ -553,19 +553,19 @@ static void _nbu2ss_dma_unmap_single( /*-------------------------------------------------------------------------*/ /* 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 *buf, u32 length) { u32 i; u32 numreads = length / sizeof(u32); - union usb_reg_access *pBuf32 = (union usb_reg_access *)pBuf; + union usb_reg_access *buf32 = (union usb_reg_access *)buf; if (!numreads) return 0; /* PIO Read */ for (i = 0; i < numreads; i++) { - pBuf32->dw = _nbu2ss_readl(&udc->p_regs->EP0_READ); - pBuf32++; + buf32->dw = _nbu2ss_readl(&udc->p_regs->EP0_READ); + buf32++; } return numreads * sizeof(u32);