Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4009352ybg; Tue, 29 Oct 2019 00:22:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJDB2bZ7EgESB7k7v4UeR6lmLKFjsPLJ+jrSPa9Tvl4pObQLtyS6pKY8mJ9ht2G85UwgGi X-Received: by 2002:a17:906:3e91:: with SMTP id a17mr1743046ejj.218.1572333740401; Tue, 29 Oct 2019 00:22:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572333740; cv=none; d=google.com; s=arc-20160816; b=qsAC70hIaM0NuVtd4XvB75ikHxkaw/QtOlzBUL6HI/MAnXcT/IDbgREAmKA1Sf3fXK U3c1fisg2tvS8wqWgil6bQ9UAb6agUc2XFsnJN+mmlev7Ln5613OuoLsw6s/e9v0pwMN zUC1oZuGDyENEm4gvoW6h1ZKAA3qE6Sq5az+YcCMSgV2gQop04zcnSgyE8n6Xt35U2hp eHoTc2SJzXIp93DVzjCN1/LjaGQMuMVhrnvp9U/B6fxDLdYOdsNc5xBFyPg7vUbx5XGc HR18+fjDzKbIQAXl15kYadJudgHFsP4iQyoKnVJwdG75wkbr/7Gmj7z8DrUg/OJh5B4O i1/Q== 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=X6pL/xiDS/rERWaTtkpN3WZ9KElC/+F38pnanmSrxfQ=; b=pGxjetMyIYFHpV9jp8f6LtKARGbOnyhfsWBuCdv0bo9cAzKawhRlrRmiCxorCuTmMW hf42vkY82MN8HIS199OFSW7j2tRMJ1vc8dSsJlJKiGOm6pIQZkOResV/4FbIkAcOykAs WmkvvVrQ1s0BDE2O9tmxzcXFvfazWN8B8w5PLbhtFYnfRsrLC7lod+gk6ZCyLyc2Kw8f 4Z/svXf2SepZtdLHFeFY4w70OgOot1Kuc4P259XSDMXIyKWUg94mQcluG9SXfBH6mYU8 CC1WJ/nDStNfDdvTPYGwJiPn1bhoSchcK7qDeSq2ngmYfuRdD5mMywZ2FzPSxbcH/ol7 mFEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Vr5P6YWn; 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 z24si6009394ejb.118.2019.10.29.00.21.57; Tue, 29 Oct 2019 00:22:20 -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=Vr5P6YWn; 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 S1729800AbfJ2Bnd (ORCPT + 99 others); Mon, 28 Oct 2019 21:43:33 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:41820 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbfJ2Bnb (ORCPT ); Mon, 28 Oct 2019 21:43:31 -0400 Received: by mail-qt1-f194.google.com with SMTP id o3so17766635qtj.8 for ; Mon, 28 Oct 2019 18:43:31 -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=X6pL/xiDS/rERWaTtkpN3WZ9KElC/+F38pnanmSrxfQ=; b=Vr5P6YWnWuty2sCRj0ER73ABkvrtifU2f1UD80c8mj+f05Lxxt8lmWBrY2a6CAx1aK xwGFdy1+liMSJ4p1Gkb5KkjE95ftnNQ0TeoN7aClTPc4uihitkyIahRbQ/g03HIuR1Is 2iLbNtm0VSqXa8WJzgYClo7XG2TUkUp17HOO/tHgj+119DiauPpXlSYr8sTCNMW5uIfA gt+Xn1gb5p2fW1CWvTmzf1Feoe41RYCI7rFp/YzCjylxY3q40DXv3DbCzqOLoFNB0j8X 9d66q8WzDOaRrsCwneRXamAFX9us1hs1afapF/LrgrSZ1lDctrGYAVwzweIKMKwvjwqr eWHQ== 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=X6pL/xiDS/rERWaTtkpN3WZ9KElC/+F38pnanmSrxfQ=; b=Nn2P60P5gysg2gbLlLQowIoalQK0hbaq+KfZhyyaf37aFyBO6LII2WjU9gnAgT0jvY +vFkI7Zdfg/UT4KHfAT3s6LMcWWiCeECkipB0RE8Ue7dJps4YOPCEuIi3MXLeOYpp1gc woWsKIr1WyWIXoVEf4txceRDNtzE34iBS/Y+BR+EHBHpGblY/nFlnWn4m34I6Yu2g4H+ ndrPxOYI7EQxu+62V9NUM8epE+P2/rvHviW5NQW0FWwbrumAP8ssBYef6yhTD0wS1tBA C2WBiqbwmxl4aaUs6hEn7tBRplqo8lnDdnu1XAXBnvrn41S7nFgmq4nECcUs1bZ4QbAc BUBA== X-Gm-Message-State: APjAAAXKrJFmifkJHpFVLR4QSizhr0IJhT1kGDaEls5HQXFe1d2fBENq TIA1lRzA8DwUYY6pSRmCj8k= X-Received: by 2002:ac8:5354:: with SMTP id d20mr1686212qto.229.1572313410756; Mon, 28 Oct 2019 18:43:30 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:483:ade:87ad:69fb:5b32:cf88]) by smtp.gmail.com with ESMTPSA id 197sm6698394qkh.80.2019.10.28.18.43.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2019 18:43:30 -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 Subject: [PATCH 2/5] staging: rts5208: Eliminate the use of Camel Case in file ms.h Date: Mon, 28 Oct 2019 22:43:13 -0300 Message-Id: <20191029014316.6452-3-gabrielabittencourt00@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191029014316.6452-1-gabrielabittencourt00@gmail.com> References: <20191029014316.6452-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 file ms.h Signed-off-by: Gabriela Bittencourt --- drivers/staging/rts5208/ms.h | 70 ++++++++++++++++++------------------ 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/drivers/staging/rts5208/ms.h b/drivers/staging/rts5208/ms.h index 952cc14dd079..dc7289ba9c4c 100644 --- a/drivers/staging/rts5208/ms.h +++ b/drivers/staging/rts5208/ms.h @@ -92,37 +92,37 @@ #define PRO_FORMAT 0x10 #define PRO_SLEEP 0x11 -#define IntReg 0x01 -#define StatusReg0 0x02 -#define StatusReg1 0x03 - -#define SystemParm 0x10 -#define BlockAdrs 0x11 -#define CMDParm 0x14 -#define PageAdrs 0x15 - -#define OverwriteFlag 0x16 -#define ManagemenFlag 0x17 -#define LogicalAdrs 0x18 -#define ReserveArea 0x1A - -#define Pro_IntReg 0x01 -#define Pro_StatusReg 0x02 -#define Pro_TypeReg 0x04 -#define Pro_IFModeReg 0x05 -#define Pro_CatagoryReg 0x06 -#define Pro_ClassReg 0x07 - -#define Pro_SystemParm 0x10 -#define Pro_DataCount1 0x11 -#define Pro_DataCount0 0x12 -#define Pro_DataAddr3 0x13 -#define Pro_DataAddr2 0x14 -#define Pro_DataAddr1 0x15 -#define Pro_DataAddr0 0x16 - -#define Pro_TPCParm 0x17 -#define Pro_CMDParm 0x18 +#define int_REG 0x01 +#define status_reg0 0x02 +#define status_reg1 0x03 + +#define system_parm 0x10 +#define block_adrs 0x11 +#define CMD_parm 0x14 +#define page_adrs 0x15 + +#define overwrite_flag 0x16 +#define managemen_flag 0x17 +#define logical_adrs 0x18 +#define reserve_area 0x1A + +#define pro_int_REG 0x01 +#define pro_status_reg 0x02 +#define pro_type_reg 0x04 +#define pro_IF_mode_reg 0x05 +#define pro_category_reg 0x06 +#define pro_class_reg 0x07 + +#define pro_system_parm 0x10 +#define pro_data_count1 0x11 +#define pro_data_count0 0x12 +#define pro_data_addr3 0x13 +#define pro_data_addr2 0x14 +#define pro_data_addr1 0x15 +#define pro_data_addr0 0x16 + +#define pro_TPC_parm 0x17 +#define pro_CMD_parm 0x18 #define INT_REG_CED 0x80 #define INT_REG_ERR 0x40 @@ -152,12 +152,12 @@ #define PAGE_SIZE_0 (PPBUF_BASE2 + 0x1a0 + 8) #define PAGE_SIZE_1 (PPBUF_BASE2 + 0x1a0 + 9) -#define MS_Device_Type (PPBUF_BASE2 + 0x1D8) +#define MS_device_type (PPBUF_BASE2 + 0x1D8) -#define MS_4bit_Support (PPBUF_BASE2 + 0x1D3) +#define MS_4bit_support (PPBUF_BASE2 + 0x1D3) -#define setPS_NG 1 -#define setPS_Error 0 +#define set_PS_NG 1 +#define set_PS_error 0 #define PARALLEL_8BIT_IF 0x40 #define PARALLEL_4BIT_IF 0x00 -- 2.20.1