From patchwork Tue Oct 2 11:57:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru Ardelean X-Patchwork-Id: 10623495 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1592516B1 for ; Tue, 2 Oct 2018 11:58:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 572EA283E7 for ; Tue, 2 Oct 2018 11:58:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B3F228477; Tue, 2 Oct 2018 11:58:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AADCE283E7 for ; Tue, 2 Oct 2018 11:58:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727512AbeJBSlY (ORCPT ); Tue, 2 Oct 2018 14:41:24 -0400 Received: from mail-eopbgr710061.outbound.protection.outlook.com ([40.107.71.61]:56224 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727434AbeJBSlY (ORCPT ); Tue, 2 Oct 2018 14:41:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.onmicrosoft.com; s=selector1-analog-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=C2+ejJw1CtzUn5sYbXbhXlNdDpMNO6EsOnX3gh9nDZk=; b=GB3U6/HHOi38xyMJBv7tdbO3kbAkvzbs0UreB0Fgxm6xdZUwYH0zKwaKNowK4w6O+scu4lmeYc1C42UVdd5LRJpQb9ETaWFFrj8i07d5Y5l+Od3dhC3DLjP7EExWc1xlJ4Pr7M27+s6XJANMdjfqyvp0BSGC6B6O1wnY3ujbU54= Received: from CY4PR03CA0017.namprd03.prod.outlook.com (2603:10b6:903:33::27) by BN3PR0301MB1219.namprd03.prod.outlook.com (2a01:111:e400:403d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.20; Tue, 2 Oct 2018 11:58:25 +0000 Received: from BN1BFFO11FD023.protection.gbl (2a01:111:f400:7c10::1:162) by CY4PR03CA0017.outlook.office365.com (2603:10b6:903:33::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1185.22 via Frontend Transport; Tue, 2 Oct 2018 11:58:25 +0000 Authentication-Results: spf=pass (sender IP is 137.71.25.57) smtp.mailfrom=analog.com; gmx.de; dkim=none (message not signed) header.d=none;gmx.de; dmarc=bestguesspass action=none header.from=analog.com; Received-SPF: Pass (protection.outlook.com: domain of analog.com designates 137.71.25.57 as permitted sender) receiver=protection.outlook.com; client-ip=137.71.25.57; helo=nwd2mta4.analog.com; Received: from nwd2mta4.analog.com (137.71.25.57) by BN1BFFO11FD023.mail.protection.outlook.com (10.58.144.86) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1164.13 via Frontend Transport; Tue, 2 Oct 2018 11:58:24 +0000 Received: from NWD2HUBCAS7.ad.analog.com (nwd2hubcas7.ad.analog.com [10.64.69.107]) by nwd2mta4.analog.com (8.13.8/8.13.8) with ESMTP id w92BwOFo017422 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK); Tue, 2 Oct 2018 04:58:24 -0700 Received: from zeus.spd.analog.com (10.64.82.11) by NWD2HUBCAS7.ad.analog.com (10.64.69.107) with Microsoft SMTP Server id 14.3.301.0; Tue, 2 Oct 2018 07:58:25 -0400 Received: from saturn.analog.com ([10.50.1.244]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id w92BwKjH012604; Tue, 2 Oct 2018 07:58:21 -0400 From: Alexandru Ardelean To: , , , CC: , , Alexandru Ardelean Subject: [PATCH 1/4] staging: iio: ad5933: rename ext_clk_Hz -> ext_clk_hz Date: Tue, 2 Oct 2018 14:57:57 +0300 Message-ID: <20181002115800.12399-1-alexandru.ardelean@analog.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-ADIRoutedOnPrem: True X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:137.71.25.57;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(136003)(376002)(39860400002)(346002)(396003)(2980300002)(438002)(199004)(189003)(246002)(476003)(51416003)(7696005)(5660300001)(107886003)(36756003)(6666003)(4326008)(8936002)(8676002)(1076002)(106466001)(50226002)(53416004)(356003)(305945005)(7636002)(16586007)(106002)(54906003)(110136005)(316002)(2906002)(47776003)(186003)(77096007)(26005)(126002)(336012)(426003)(48376002)(478600001)(86362001)(2616005)(44832011)(50466002)(2201001)(486006);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR0301MB1219;H:nwd2mta4.analog.com;FPR:;SPF:Pass;LANG:en;PTR:nwd2mail11.analog.com;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD023;1:K8mSjKfx1I+ejEe0Rv1erKSBNeTRTsHbUk+EDcalq/DXbiv32DM+qjKHrFNl+1jZKHa15CaNkeCLfrnlBRpIhEAd32br6gtOOVUbEMEyZQ9619jnFsj4XH5SvOEPCBRe X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1c3aa9f9-be27-485e-8df9-08d6285e5ba9 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:BN3PR0301MB1219; X-Microsoft-Exchange-Diagnostics: 1;BN3PR0301MB1219;3:QN9lmIjPbyLf5H0mK2SmxBbYTCOvQWACLD1GLAPkUirueL3XIiR353yCLf3nJiuFrrvRDfBArDexYS5fbIIqST7bY2wBA60uaId79kNHUXrTOnoBKF9I87pCyXKuVTYJjCcsfH2l9N4k9HrztQJs3s+RNiJ+Xi57Met5bgTYoxmCk0BEPcFyXc6hRbDflnexbHhYcEuw/URzD0jsEDe+OM9qjwy5uAS9RVxAlrSdLiCUr3daTkNvMQZ4evAqrzKdaVAzzQ+/l3UasNotUjhXrLYsFkRekNJhtGnXNkKU4X1KoD1ULALwuMDiqG7H8itrtsWEAySDG6D+HfuShb8UpYxgCvnVjDVBh0MnUSe/+18=;25:RkGCtQInNCL3kE18WrnGAbQJzNk8ods8+V3qfZaQfT/aWN7TVxLU14TT+XDtmfektTJl+Q/5KVj6+hifV35JH1Snd5qQimjJrn/sc/MSbj1GeW37QSiMDWtZ2AW5zOAoGNSaWUv0OBFL4s1eF9+CLLLh7krekixGtpYQAuC7yPyztQ2Qo9f4oF/0bTztPeZybLrjqcfyhjUHmukpdEkG2UcybdTWjI5lNRJPkiXFSckX15LhNuiCH2chhYg3CP6rEYWfjY1pBrk9KMOLUwI7HpGY/FS9MfPv7y470xp3w+8665Tvr3nmn5TRi0N45ZCu9ipX+ysDPhaqeL7HnC4+ncGEs6mBut/PSqiltuRSK6Y= X-MS-TrafficTypeDiagnostic: BN3PR0301MB1219: X-Microsoft-Exchange-Diagnostics: 1;BN3PR0301MB1219;31:al8IHJMgRA5LG6MOWpIZ1CDKqnZgkvwDqdvCcy6AqCqmBRLWXIStedkqu386aTTvL7fMBTbwmxmobvouQOgpiRqp9qgAYAl2FEOXzZl45BNmCtJ+0892E173yXK3BxRr7dNeFFdjRABy7APR05rcmPgDLGBtQlDQkFom1oEKJ3sAciPLlLmIQDvANg490fuZEBjWwH5cgUzjGBB7Y2x83uUDTH8Ox6u6cpthV0bdrsM=;20:EMOc3hg8fwO1/JbkSK+IFmIu74y+iAazNI44yCz+Pt8cL515MQYO6lTZn2uLUfCJujx4z2BwwR67m1GQoOdj4clbpltMiGKgsSYVBJEbQuB+rQkbJEgqsZXaoDR76DMcMmu7PLMUMVKwnt/5Qb+Ys29n/NJJ66OKp13CYLGyTlYLcTXVFUQ9fh22qngOvLfL+6gOeKrblpdiCZ+Y3iKCf2TaTq3Ffr39pS6uW9QldudqU2quGrbCGKEA66ra77D4lxqZTSXdFT0bJDA1tL6YgHrjW32IChEbBxBeD67aKzmwCYtOn9MS9jQmTCQMFy9OlYKB4Y5+Kor5sqjFa7nz9sQ5RSrOE7dTVy8pafJCrEqtAktHIz6bvedwMOLSWfn+ne0690r7ONqb8LLLfKaBGCROjX4ODU5zB4V7WAPCi2VGyC13/1oJR0zWvEkF2j+jSaG/sMPd56JH0BGQ+3wmzSxIuh+67b7oPrXjfPSkcCPPdtao/GgLp2ccwmPxVRrp X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(232431446821674); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93004095)(10201501046)(3002001)(3231355)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201708071742011)(7699051);SRVR:BN3PR0301MB1219;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1219; X-Microsoft-Exchange-Diagnostics: 1;BN3PR0301MB1219;4:rOmVfUp4TWNl1z+B2h6Fkyb1VdF1w+YiJMOb/K+2Rn30G+eqY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lPA1/KHYbodt2QhHiqFv3hzbZ5Y8ntrAqSnOW038mHrkCae0UKd+KAnmrk9t93UKBXnS0feuJ1CIIS0zMDEgn83hqnvfeF9ap9cq6ONhNpl0mUmHCa7aGcPgfqwnfv0K9fH/0k2PVMEjg==;5:0Z25jiVuLKYvBl8Ti29UYgGCEdCzMaQnQZJ9d9ZU+Ai4G103kepOwHuNzhOiicizqQ7uNAMFEOKMzTx/Sk7i3hEivHVQZQ4NHhKrMXLRl8YMczF7rki5i3rFyK9Q8GA6rBdVH+1DwnjOMYiu3Y0/VbLajYeNkZWMmlSla9yiHrY=;7:ntWLaj2+Q0TPjwhZsNozjtOzAsEq55T5jP53ZE7jbzt0j4BB7lc3UAD8MnjtDKcaMz4CUtAyq6nwmpF9pwFVHrY5CW4gSLkPsYIPYsyZ6r6FEDCHoCJLxAfOQk5FDMLS8jSJcWrmrBen2J+aR3PDDS1TeeCZiikzqSi8VrtVypv3KGatExaXNy88VF5/ftIqCZbtos6H4GFjf7Ro/g9gH++f3fVrRZqi5lDuJ/OqzDuvLyCoso2Rid+7MzT5Bydh SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2018 11:58:24.8130 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1c3aa9f9-be27-485e-8df9-08d6285e5ba9 X-MS-Exchange-CrossTenant-Id: eaa689b4-8f87-40e0-9c6f-7228de4d754a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=eaa689b4-8f87-40e0-9c6f-7228de4d754a;Ip=[137.71.25.57];Helo=[nwd2mta4.analog.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB1219 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The checkpatch script doesn't like camel-case names. Renamed the variable. Signed-off-by: Alexandru Ardelean --- drivers/staging/iio/impedance-analyzer/ad5933.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/iio/impedance-analyzer/ad5933.c b/drivers/staging/iio/impedance-analyzer/ad5933.c index a2370dd1e1a8..8a920f675b83 100644 --- a/drivers/staging/iio/impedance-analyzer/ad5933.c +++ b/drivers/staging/iio/impedance-analyzer/ad5933.c @@ -84,13 +84,13 @@ /** * struct ad5933_platform_data - platform specific data - * @ext_clk_Hz: the external clock frequency in Hz, if not set + * @ext_clk_hz: the external clock frequency in Hz, if not set * the driver uses the internal clock (16.776 MHz) * @vref_mv: the external reference voltage in millivolt */ struct ad5933_platform_data { - unsigned long ext_clk_Hz; + unsigned long ext_clk_hz; unsigned short vref_mv; }; @@ -726,8 +726,8 @@ static int ad5933_probe(struct i2c_client *client, else st->vref_mv = pdata->vref_mv; - if (pdata->ext_clk_Hz) { - st->mclk_hz = pdata->ext_clk_Hz; + if (pdata->ext_clk_hz) { + st->mclk_hz = pdata->ext_clk_hz; st->ctrl_lb = AD5933_CTRL_EXT_SYSCLK; } else { st->mclk_hz = AD5933_INT_OSC_FREQ_Hz;