Received: by 10.223.185.116 with SMTP id b49csp796293wrg; Sat, 3 Mar 2018 07:41:43 -0800 (PST) X-Google-Smtp-Source: AG47ELtaXmTzlA9EAHV3aCx4T5rM1kbDQTewkhLbrzJtS1Fk6/Bu9prYFDsixmE6TVnIQfgHD9IY X-Received: by 2002:a17:902:6c4c:: with SMTP id h12-v6mr8264637pln.101.1520091703435; Sat, 03 Mar 2018 07:41:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520091703; cv=none; d=google.com; s=arc-20160816; b=V0zY6RhsGkwjPL+8Woktkz5Bsd81L8cU/kT9uvnD9cyK71PwWb8OtbJ5Uwhpdy33n9 mUEF2RMVKJBSEoxy+3u37yZ9dv1NxnTvpJh4L3lTFE0QaBUw3P2eOx3mRe98r4HCfLy4 I/Jz3hKT4ihIJwpoH4RYuqSJ0n0cYIwdbVIkYEsy5576UdogheKHQ3PKUTWGFZGCkz7h chBnrIr7njZwGfYuPEaFG3/PJ9YG4usmBWTBwfUkEnglB7Gl4R3+AiPAjiSGh6esdsGu pJNMw8osnDfYNjTGD5xl0oA8988sloMyGKQPJeaG1l453b5GoK3pOx9QFKBxbZptUzwr D+Tw== 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 :dmarc-filter:arc-authentication-results; bh=2OcrFn6pqMB05q4qus2Box5EVsJHmweqXilZnt7pUT0=; b=gXRJ4iEiuY+q3Ddtkn+163MJRSDPvFb84rbT59Aks9SSdm8xzWyq5+WxCfGbMhfZEu fMCOBMF2jM54B9iyu3lymvtt1+QH4FCijtPS08y3if27fxpnkstFC80OItWC7zULXpET TecHOEo7JBy+LkRjo73Sm0R5YkOV4SSPQuQjuGRnja1v5pa5diday4MiUgMs4ITh6CpA 2c2J4O6T2l+w9H/M4/Prqhi7nHCj8RcgexnxyYwXCRKg/6qia2EYoVgOY7Zars+92q8M aiAg6ZBtnpCqK2K1NVB+ZX6Xpxaa+ns59L08x7H5DykPeIY1xufzcIo62pHrFWAuoY+k znWA== 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 33-v6si6544100plg.227.2018.03.03.07.41.29; Sat, 03 Mar 2018 07:41:43 -0800 (PST) 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 S1752251AbeCCPkg (ORCPT + 99 others); Sat, 3 Mar 2018 10:40:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:50212 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752115AbeCCPke (ORCPT ); Sat, 3 Mar 2018 10:40:34 -0500 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 476D52178D; Sat, 3 Mar 2018 15:40:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 476D52178D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jic23@kernel.org Date: Sat, 3 Mar 2018 15:40:29 +0000 From: Jonathan Cameron To: Shreeya Patel Cc: lars@metafoo.de, Michael.Hennerich@analog.com, knaack.h@gmx.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, daniel.baluta@gmail.com Subject: Re: [PATCH 2/6] Staging: iio: adis16209: Change the definition name Message-ID: <20180303154029.1d8f30ee@archlinux> In-Reply-To: <646c1e2ac1311db1879a5cae58f5f0a0c07114a5.1519995673.git.shreeya.patel23498@gmail.com> References: <646c1e2ac1311db1879a5cae58f5f0a0c07114a5.1519995673.git.shreeya.patel23498@gmail.com> X-Mailer: Claws Mail 3.16.0 (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 Fri, 2 Mar 2018 18:53:41 +0530 Shreeya Patel wrote: > The change in the definition name makes it then obvious > what the units are throughout the driver and there will > be no need of the comment. > > Signed-off-by: Shreeya Patel Applied to the togreg branch of iio.git and pushed out as testing. Thanks, Jonathan > --- > drivers/staging/iio/accel/adis16209.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/iio/accel/adis16209.c b/drivers/staging/iio/accel/adis16209.c > index 58f604d..830c278 100644 > --- a/drivers/staging/iio/accel/adis16209.c > +++ b/drivers/staging/iio/accel/adis16209.c > @@ -20,7 +20,7 @@ > #include > #include > > -#define ADIS16209_STARTUP_DELAY 220 /* ms */ > +#define ADIS16209_STARTUP_DELAY_MS 220 > > /* Flash memory write count */ > #define ADIS16209_FLASH_CNT 0x00 > @@ -303,7 +303,7 @@ static const struct adis_data adis16209_data = { > > .self_test_mask = ADIS16209_MSC_CTRL_SELF_TEST_EN, > .self_test_no_autoclear = true, > - .startup_delay = ADIS16209_STARTUP_DELAY, > + .startup_delay = ADIS16209_STARTUP_DELAY_MS, > > .status_error_msgs = adis16209_status_error_msgs, > .status_error_mask = BIT(ADIS16209_DIAG_STAT_SELFTEST_FAIL_BIT) |