Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp82809ybx; Thu, 31 Oct 2019 16:20:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMNySDgWJ012ZIvVTz9/2m2WSpHjpyDR4ZFfOds5bMb2U28+3g58eGzbhKWZZvHsKO0H91 X-Received: by 2002:aa7:cd11:: with SMTP id b17mr9152924edw.144.1572564006379; Thu, 31 Oct 2019 16:20:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572564006; cv=none; d=google.com; s=arc-20160816; b=eVIOTbQqDk1aVtUbaJbKmBV+IRdksifPIPNJFOmNC1Ot+ByTVOgh6H3u8orBO05NK3 udOR69biJTAHsPBETlE672zVbW1h79rBquCoQGd0ufJV+vBl/w8g2OTPFt3joAUam1Jh ApjF0HjHTGE9sSgB+e0Ocv+Yt2uhsWtSW3vDh6Lbc8uCyTi3M9pjBck+ALY2KPQxZQCC OaTBTA1SmUMmTZJTW3dqtrUfuF8GqZdJ23HcnhACjc2V/aUueRAHj4j7VMXAZgGdqAg8 8buZ5wuODvHFA17AfYBxxsFVGCIU2NdfdhOMg874WNPgZrXLZKlYtnGpckPU+DVHagKk BiCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QzRITthHa6LggIeQu+O+FQbDuXS83uUpJUnnNNtWNV8=; b=TZWRs/krZ0l60FZa3mT46CRRtXW33WMocGIMk3cdXciJX1p4uvsu4mBLbGP46mTJOM r7vpE/MgWRuN7YgzZeX7lHEpQD8KhtByuuhSqrME3egED3fOsVy2uyqRBZZfSKzRVW+u bKveJSo5pr+z7g7gbOhh5W5vCvn1tVPqTjg5Z/+I/K9LZyCPKE1Cb4Zz6Rj6KCKJBalJ kDyICCIeFePCsadl0BQac+2A2cnvaBBezbPzd16iLMG/CXGO5FxjdBuXVyQRrcVww7B4 qcJTQsX+a65/ibipdWcLUpPm3Tr9WrxkzHzJUDfx3De84tq2SPTb/ZxgLrxH1gAOxUSw n8EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e7uWKCWt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c7si4748301ejm.375.2019.10.31.16.19.43; Thu, 31 Oct 2019 16:20:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e7uWKCWt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727492AbfJaXDX (ORCPT + 99 others); Thu, 31 Oct 2019 19:03:23 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:42910 "EHLO mail-qt1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726602AbfJaXDX (ORCPT ); Thu, 31 Oct 2019 19:03:23 -0400 Received: by mail-qt1-f173.google.com with SMTP id z17so10752819qts.9 for ; Thu, 31 Oct 2019 16:03:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QzRITthHa6LggIeQu+O+FQbDuXS83uUpJUnnNNtWNV8=; b=e7uWKCWtFxcM7BHBQtZ+C7zNpjqfWuED1f0/XihIOgQbRJ8a6+hmIt87t7F82xbYMM P1x4YKmbiGDtetWjr9tkjVkRAqOgFLFAeoMnCIuqoAd08ztnCzaGmQwPFAMZ+qzdPUg3 rRHwBZuHaqqZHxiUWRWXm8lPqON3rOVYnCsHOW+0A4vR2K5vUks8DXTg8NSRXUM8TtdH up3epXh0ydw5RbxhG4Fj+afpz3AU0P/JBOPLxNgm+Sm55C+5dlnxCJmXqEMr+II/ICrj E7/ab0Mlj0NLmUeeTWHEtQeBaeuVQPfhAls/n7EE7fQHp1X7onExFSItS5lU+Waaxt/5 N8SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QzRITthHa6LggIeQu+O+FQbDuXS83uUpJUnnNNtWNV8=; b=JrTnYymFcmvFq9jemF3056weLkjSHKxpGDILNhAYi+voByaa6SiBvH8YTu+esQ7clX DSIvB3//+j4Vk13M/CHsRNJkYvpOtYynulh9bdC7VFwyBKZLgNXM6IQulX3qCWUwDwAg qSSJIQv29A9u/KAUYEpYt76Rv5635JW3MG6Zsi6kZhKUSyB/Eb5vibrUdfE7r8EliBge /ZIX+at9nUENxJRomI//uSP9ljKKhIzxkclBkZxWhn3LP4lGaoEXW4YnPFhq/iaFihcf dTvsjUb4E3bTxkOd85FbW8K8XXnG4lxAY4Y38Iaq02XEI9ou74izYcWSsAgdax5k0HHq 3+Cw== X-Gm-Message-State: APjAAAWv6HMYFKVjdfxCMRUjuxqZaNbxxlydjDvgeZuzE4tIyVC0KUNW Q/aS/IeAULF/1udXfl9moeo= X-Received: by 2002:ad4:5447:: with SMTP id h7mr7201009qvt.188.1572563002063; Thu, 31 Oct 2019 16:03:22 -0700 (PDT) Received: from localhost.localdomain ([187.106.44.83]) by smtp.gmail.com with ESMTPSA id s67sm2633875qkh.70.2019.10.31.16.03.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Oct 2019 16:03:21 -0700 (PDT) From: Gabriela Bittencourt To: outreachy-kernel@googlegroups.com, gregkh@linuxfoundation.org, kim.jamie.bradley@gmail.com, nishkadg.linux@gmail.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, lkcamp@lists.libreplanetbr.org Cc: Gabriela Bittencourt , Julia Lawall Subject: [PATCH v4 2/3] staging: rts5208: Eliminate the use of Camel Case in files xd.{h,c} Date: Thu, 31 Oct 2019 20:02:42 -0300 Message-Id: <20191031230243.3462-3-gabrielabittencourt00@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191031230243.3462-1-gabrielabittencourt00@gmail.com> References: <20191031230243.3462-1-gabrielabittencourt00@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cleans up checks of "Avoid CamelCase" in files xd.{h,c} Acked-by: Julia Lawall Signed-off-by: Gabriela Bittencourt --- drivers/staging/rts5208/xd.c | 8 ++++---- drivers/staging/rts5208/xd.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c index f3dc96a4c59d..0f369935fb6c 100644 --- a/drivers/staging/rts5208/xd.c +++ b/drivers/staging/rts5208/xd.c @@ -630,13 +630,13 @@ static int reset_xd(struct rtsx_chip *chip) xd_card->zone_cnt = 32; xd_card->capacity = 1024000; break; - case xD_1G_X8_512: + case XD_1G_X8_512: XD_PAGE_512(xd_card); xd_card->addr_cycle = 4; xd_card->zone_cnt = 64; xd_card->capacity = 2048000; break; - case xD_2G_X8_512: + case XD_2G_X8_512: XD_PAGE_512(xd_card); xd_card->addr_cycle = 4; xd_card->zone_cnt = 128; @@ -669,10 +669,10 @@ static int reset_xd(struct rtsx_chip *chip) return STATUS_FAIL; } - retval = xd_read_id(chip, READ_xD_ID, id_buf, 4); + retval = xd_read_id(chip, READ_XD_ID, id_buf, 4); if (retval != STATUS_SUCCESS) return STATUS_FAIL; - dev_dbg(rtsx_dev(chip), "READ_xD_ID: 0x%x 0x%x 0x%x 0x%x\n", + dev_dbg(rtsx_dev(chip), "READ_XD_ID: 0x%x 0x%x 0x%x 0x%x\n", id_buf[0], id_buf[1], id_buf[2], id_buf[3]); if (id_buf[2] != XD_ID_CODE) return STATUS_FAIL; diff --git a/drivers/staging/rts5208/xd.h b/drivers/staging/rts5208/xd.h index 57b94129b26f..98c00f268e56 100644 --- a/drivers/staging/rts5208/xd.h +++ b/drivers/staging/rts5208/xd.h @@ -36,7 +36,7 @@ #define BLK_ERASE_1 0x60 #define BLK_ERASE_2 0xD0 #define READ_STS 0x70 -#define READ_xD_ID 0x9A +#define READ_XD_ID 0x9A #define COPY_BACK_512 0x8A #define COPY_BACK_2K 0x85 #define READ1_1_2 0x30 @@ -72,8 +72,8 @@ #define XD_128M_X16_2048 0xC1 #define XD_4M_X8_512_1 0xE3 #define XD_4M_X8_512_2 0xE5 -#define xD_1G_X8_512 0xD3 -#define xD_2G_X8_512 0xD5 +#define XD_1G_X8_512 0xD3 +#define XD_2G_X8_512 0xD5 #define XD_ID_CODE 0xB5 -- 2.20.1