Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2310095imm; Thu, 7 Jun 2018 08:34:11 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJIsC1DyCy8MHV/eS4DcCXA7lttYz5PtHl6XZNGHMg3h6LKt6QOtA+r3iP1bs7zFsS/mEt0 X-Received: by 2002:a17:902:8308:: with SMTP id bd8-v6mr2569728plb.329.1528385651531; Thu, 07 Jun 2018 08:34:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528385651; cv=none; d=google.com; s=arc-20160816; b=NWfhKgzqFUDzdHShwbjjVp+BLTRsP21qqKkyW9z09q9rmQWPW3sxwXFWvhTWtF2y4W Knr+hSjA6VlHeCXnMaU6IWOCXnkYJAp+GyJa4uYHWhluQSmvZv4nQx2IgYFGgR1PyvW9 SbRYwH7z7k2m/JF9taz8bC7vkctw6q7sFC4HWKPjRiSR3B7lxTIwFne7Cye1ZTwcAPd9 85louUvSvoMs3v5GIrhMO01dWPsq+Z5HoAXUOBv5ZVhihuta67Z5T8tdqRe4pYFy+vr7 jUkDyaGRFxloEac1tofdn+f5ErWk0MDzQff8vb54aJcKbMX//jpKjSMHHnDtUBkWd2Ol aMxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=7WRF09m4uCgyoibpedchnzHS1BjNuBiFT9tQgHV6nD8=; b=zsxn7bV6AYtFNiL7Cv4Uug+qE5CL2MlFjxOKueU50TRvW+qvydsqqrQ5yelGWNTGhY 5lxa+PZl2NpU2OYsQQnU+1FgV2htqknZdxfLD8hcchE+5ACjQZsan5nTiaY5yUDLRazD ItvhTOsbcrUAWOUAQjKXDSo0QjhmmCnu20dWuO+cHQy1rW4gBcKPgErScKsbwVrFfsQH U2Rp+nTHCBJGs1mHO8IKUw+poNpstCQ7idZfAK5SwYcIt5Vb1hKY28DHN4LR0kogAPuX BlnPW5TVO+SWVAbKjyU885AHUJ+GF5g9MNaLp4cX9BPN2iK2fsTycQlDsBo6IHptLEGO oY/w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e192-v6si2132100pgc.233.2018.06.07.08.33.57; Thu, 07 Jun 2018 08:34:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935059AbeFGOxi (ORCPT + 99 others); Thu, 7 Jun 2018 10:53:38 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:40950 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933674AbeFGOxd (ORCPT ); Thu, 7 Jun 2018 10:53:33 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvbm-0005Zk-4z; Thu, 07 Jun 2018 15:09:46 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvb4-0002xC-Gh; Thu, 07 Jun 2018 15:09:02 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Daniel Baluta" , "Greg Kroah-Hartman" , "Ioana Ciornei" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 172/410] staging: iio: adc: remove the use of CamelCase In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Ioana Ciornei commit 5f7e280f5ae61450a7aecd9feefe3f032b6a5abf upstream. Remove the use of CamelCase to follow the kernel naming conventions Signed-off-by: Ioana Ciornei Reviewed-by: Daniel Baluta Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- drivers/staging/iio/adc/ad7192.c | 10 +++++----- drivers/staging/iio/adc/ad7192.h | 2 +- drivers/staging/iio/adc/ad7280a.c | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) --- a/drivers/staging/iio/adc/ad7192.c +++ b/drivers/staging/iio/adc/ad7192.c @@ -125,7 +125,7 @@ #define AD7192_GPOCON_P1DAT (1 << 1) /* P1 state */ #define AD7192_GPOCON_P0DAT (1 << 0) /* P0 state */ -#define AD7192_INT_FREQ_MHz 4915200 +#define AD7192_INT_FREQ_MHZ 4915200 /* NOTE: * The AD7190/2/5 features a dual use data out ready DOUT/RDY output. @@ -226,14 +226,14 @@ static int ad7192_setup(struct ad7192_st switch (pdata->clock_source_sel) { case AD7192_CLK_EXT_MCLK1_2: case AD7192_CLK_EXT_MCLK2: - st->mclk = AD7192_INT_FREQ_MHz; + st->mclk = AD7192_INT_FREQ_MHZ; break; case AD7192_CLK_INT: case AD7192_CLK_INT_CO: - if (pdata->ext_clk_Hz) - st->mclk = pdata->ext_clk_Hz; + if (pdata->ext_clk_hz) + st->mclk = pdata->ext_clk_hz; else - st->mclk = AD7192_INT_FREQ_MHz; + st->mclk = AD7192_INT_FREQ_MHZ; break; default: ret = -EINVAL; --- a/drivers/staging/iio/adc/ad7192.h +++ b/drivers/staging/iio/adc/ad7192.h @@ -34,7 +34,7 @@ struct ad7192_platform_data { u16 vref_mv; u8 clock_source_sel; - u32 ext_clk_Hz; + u32 ext_clk_hz; bool refin2_en; bool rej60_en; bool sinc3_en; --- a/drivers/staging/iio/adc/ad7280a.c +++ b/drivers/staging/iio/adc/ad7280a.c @@ -89,7 +89,7 @@ #define AD7280A_ALL_CELLS (0xAD << 16) -#define AD7280A_MAX_SPI_CLK_Hz 700000 /* < 1MHz */ +#define AD7280A_MAX_SPI_CLK_HZ 700000 /* < 1MHz */ #define AD7280A_MAX_CHAIN 8 #define AD7280A_CELLS_PER_DEV 6 #define AD7280A_BITS 12 @@ -850,7 +850,7 @@ static int ad7280_probe(struct spi_devic ad7280_crc8_build_table(st->crc_tab); - st->spi->max_speed_hz = AD7280A_MAX_SPI_CLK_Hz; + st->spi->max_speed_hz = AD7280A_MAX_SPI_CLK_HZ; st->spi->mode = SPI_MODE_1; spi_setup(st->spi);