Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp409350yba; Sun, 31 Mar 2019 02:38:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqz7W6laA3RCvd7TXX1bP5qtPySBE/fmRoV755qUehbAvKqCjNLEHB77PIyI31Yluo5fG2OZ X-Received: by 2002:a63:6fcf:: with SMTP id k198mr42524610pgc.158.1554025105300; Sun, 31 Mar 2019 02:38:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554025105; cv=none; d=google.com; s=arc-20160816; b=f5TuTdDcUIy54B9tF5k6wneAVQHC1T1RLxLaNdlutMRdKYMtGbE0N0LJssdF0Ys+Cb Vg4ITV3UjKPWrropApxSlm6hr8fZ++kvmXzr2oyYlCYp7FzW0+pep4JpR6bzq19NqWAT DH6Nha+Rnq5SFgunHXylXgxuL33ba1NvUPHXc8OuTwy9BnBLlvlHcgD6CPWnSVPCZqe/ a6DJeKjrC7+UgBsQDfjdnvdA4kFiTiQv6ZmgFuURvrDB+v+0kM5mdxSPC4GSMraT3juU +/nvQn0GWtf5I2zLZRFHNVNQfKETNvCCWI159Yv4nq8spw1uH0IZ0dXMDrs37TR0l+E2 f1YA== 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:subject:cc:to:from:date :dkim-signature; bh=HE7+sQ05VutsMWi1LOwcoOUjiPr0Z7z9pHH25+scS1Q=; b=UcmiHv44Aurp5fbx6nh0aUT8XDhB7f0wDK73xQXnE7WPBBbgB1RiXfUou2+DxYaVFA U7v7T+MuiCz1UJXnDxyTmLlUNt8HvTh8PUPhr/5iPQ9Hw8yu96vn+Y6BLy0cMbphBa5D XSnlR9/m78eM/xhBWzUmF2Rq2vExeLvY7J2G9xcY5SC9gKBiBC4MWeFiy/ymdqwbBPNS uWxLQ7c2KQgpX/2vh8Q6x4GrF4N6kIYACaQrXq7ptZdrox8jSrNlv1Jb/0ko+lRDFebm bAW85dHGGxdrEh9vPGiJJturz7vngKWiNazDYZTz7WQRKq2CayCkFY2ixgHoshVCY2fv Cpaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vHQfYbFZ; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d37si6437652pla.71.2019.03.31.02.38.10; Sun, 31 Mar 2019 02:38:25 -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=@kernel.org header.s=default header.b=vHQfYbFZ; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731085AbfCaJh1 (ORCPT + 99 others); Sun, 31 Mar 2019 05:37:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:52888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726931AbfCaJh1 (ORCPT ); Sun, 31 Mar 2019 05:37:27 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7BAA6206DD; Sun, 31 Mar 2019 09:37:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554025046; bh=Kr5TyAW8oUsN+4Otq0Rx8ylgkzyzvKZ0ddxyrdh72pA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=vHQfYbFZ28SVW54f0INkWw0zER+g7ZryMfVxUFac/b/cvr6wafUeZd/F1SBoond94 6enhcks7VZb2KS1sNsz4zbhHQrxoCiKUUzyj9+EpIJ6Nh8fNHoL27M/Pos9+7XuD8z speLzXSCExR9jANAMUYch0B9yQm+RvvSk6F48WMU= Date: Sun, 31 Mar 2019 10:37:20 +0100 From: Jonathan Cameron To: Cristian Sicilia Cc: Lars-Peter Clausen , Michael Hennerich , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 5/5] staging: iio: adc: ad7280a: Remove CamelCase notation Message-ID: <20190331103720.257ac35b@archlinux> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 24 Mar 2019 18:23:16 +0100 Cristian Sicilia wrote: > Fix CamelCase naming. > > Signed-off-by: Cristian Sicilia Already applied this one as well. So whole set has been applied. Thanks, Jonathan > --- > drivers/staging/iio/adc/ad7280a.c | 11 +++++------ > 1 file changed, 5 insertions(+), 6 deletions(-) > > diff --git a/drivers/staging/iio/adc/ad7280a.c b/drivers/staging/iio/adc/ad7280a.c > index 4ff28f1..229dcad 100644 > --- a/drivers/staging/iio/adc/ad7280a.c > +++ b/drivers/staging/iio/adc/ad7280a.c > @@ -917,8 +917,8 @@ static int ad7280_probe(struct spi_device *spi) > const struct ad7280_platform_data *pdata = dev_get_platdata(&spi->dev); > struct ad7280_state *st; > int ret; > - const unsigned short tACQ_ns[4] = {465, 1010, 1460, 1890}; > - const unsigned short nAVG[4] = {1, 2, 4, 8}; > + const unsigned short t_acq_ns[4] = {465, 1010, 1460, 1890}; > + const unsigned short n_avg[4] = {1, 2, 4, 8}; > struct iio_dev *indio_dev; > > indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st)); > @@ -966,10 +966,9 @@ static int ad7280_probe(struct spi_device *spi) > */ > > st->readback_delay_us = > - ((tACQ_ns[pdata->acquisition_time & 0x3] + 695) * > - (AD7280A_NUM_CH * nAVG[pdata->conversion_averaging & 0x3])) > - - tACQ_ns[pdata->acquisition_time & 0x3] + > - st->slave_num * 250; > + ((t_acq_ns[pdata->acquisition_time & 0x3] + 695) * > + (AD7280A_NUM_CH * n_avg[pdata->conversion_averaging & 0x3])) - > + t_acq_ns[pdata->acquisition_time & 0x3] + st->slave_num * 250; > > /* Convert to usecs */ > st->readback_delay_us = DIV_ROUND_UP(st->readback_delay_us, 1000);