Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934341AbcLTN6i (ORCPT ); Tue, 20 Dec 2016 08:58:38 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:21371 "EHLO sender163-mail.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755408AbcLTNz2 (ORCPT ); Tue, 20 Dec 2016 08:55:28 -0500 From: Afonso Bordado To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 4/4] staging: emxx_udc: Fix CamelCase variable name Date: Tue, 20 Dec 2016 13:55:08 +0000 Message-Id: X-Mailer: git-send-email 2.9.3 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1165 Lines: 38 Changes from CamelCase to a kernel format Signed-off-by: Afonso Bordado --- drivers/staging/emxx_udc/emxx_udc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c index 45808ed..c19ce17 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); -- 2.9.3