Received: by 10.223.185.116 with SMTP id b49csp4383661wrg; Tue, 6 Mar 2018 14:58:58 -0800 (PST) X-Google-Smtp-Source: AG47ELvgOs9HCLlBznEK8qmUjhNcZP6Ry097EtjW1Dtxz6FFcIA9tBQJRj3su+JmvhMkLT7cacNH X-Received: by 2002:a17:902:5303:: with SMTP id b3-v6mr18497667pli.19.1520377138602; Tue, 06 Mar 2018 14:58:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520377138; cv=none; d=google.com; s=arc-20160816; b=StTuL1CEB9PD4aeID577AhPCFxMeE3nNNu5v4LJ8/biOlzgugWm0/os0tjjd5Jebid UMrOoZt9PTgfnDIHCcIyrHrTVLF3GRGVXlVkVdXVPjvt5OILUiFYSWPAON5kEjuAci+2 qbJefbnlXFn3pbXCdssxgQcRLuFNQVvRq4ccFtq5vStCF8zh+izrRzAZYIMc1+yce6Hm LJJKVsMA/JkojVqU1dBFTtL1jSqH3bqAiKEpcMofBkBA8mUt58HBZbLCW/DMgnPnuVXd KtDQcHnrm2fdtOBp8fPLxRYufkDHxsHv7mM6YGjugJo5X1oym8KTKOF6Kdi3kBUqw0Xa QCJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=zRH4bHnDL1yquOy/JScC3hVj47Rha0KPmCdsyMPhRYU=; b=Ww9pO7s9qthn+8uJBEtRcYzdgES+i3YhVuJ7ROF/JfRcxakCQ/s/UAxqOc4kDX60+j Z8es8xiQXnoBhyzx8Vr+ZG8OZrqKfeMPeiFjTcSxKEeucVkO8Gwts7rzDsHZCJ5BmI/i uUMN5EoobNQwhX8U3pDrX2oh28NWfDL+USUPs1L9lD74KHnWdUcoCebUUgDI4f0CbgfB Thn4N3oexpAv4ijQ8zPxMapenKRpO2FeyC1u2PTiRsYprILVL9gtmj3bKnpdXOtxrXuI GVHVGmWXUTAFa1g//zms+E31oN/dVNvKZMOnDfrNvUCgwVjiiOV1xHSoBwKIyiK0vyHe GA9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dNZjd2c5; 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 p23si8368490pgv.371.2018.03.06.14.58.43; Tue, 06 Mar 2018 14:58:58 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dNZjd2c5; 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 S1754150AbeCFWZk (ORCPT + 99 others); Tue, 6 Mar 2018 17:25:40 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:33254 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753923AbeCFWZi (ORCPT ); Tue, 6 Mar 2018 17:25:38 -0500 Received: by mail-pf0-f193.google.com with SMTP id q13so112669pff.0; Tue, 06 Mar 2018 14:25:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=zRH4bHnDL1yquOy/JScC3hVj47Rha0KPmCdsyMPhRYU=; b=dNZjd2c5Zf5uJkfdEHU1SV6LDkIaqjo+th14YzJskyeQmUk62fy+5eSPBhBgczwtEA e/GEnUTEA7ySFyESfiDsLyZAhteqyPBGPSwTY0mtLUykvA1KHo5FG0gerZqIbE7DPu4c K64d0U+Brazk+7xLR3vT6KaZt0hYIDKD9QqvUsueII2yByLsnyewz0fn43LYbUr0dDtI eTT48sTPriv3dSMsKM09Pj+pJ4JC6pgJvbzUSx6fa0VMmp4RGbIRTGgGkj/qDR55Wam2 WMZ4tF1ecCsjF6wBSXeffoXkGxclo+ZoB5iYyF5VLaN/IxayxyBgsbhExCWZjuGsdVSY ofLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=zRH4bHnDL1yquOy/JScC3hVj47Rha0KPmCdsyMPhRYU=; b=tIORrAsbDcg37g8tQLc+VPvaEFCoErlZCBAFpkA9v1HF2UxdjgyO/ZrKDKgkjAvtRz Bmbth+HVEaVXvCG5oN9+T9vjcZN19f9Sj83yzv9D05AxOtqy9ROTVcTwrI+yFPKYNKPT FxZwjnwi3HRLWgcWi5g5iLry61/eCUhlhbQew07A2K0twYV9r5g5coZM70zcpfKxa8rA +1RJc6Tkn/xoLZmqwYds8LGyOrSK82QiFkkL1unilFr1QI/UVmGk9+fgnR8aPBV198Ph kj4oAtdDHJ9ViHK/9MP0m4SnFj7YSKaSlcnuIQ0ZBKbMZfKRNq8f8l4oih1KYk8Mu4BI SWJA== X-Gm-Message-State: APf1xPBIJ3kfRwFHBC3Oizer3aJJw87aRM3NUc6owpkFPIc6jO8zUpf1 fdeu8HRC/iB5l77jRQddp3c= X-Received: by 10.98.166.200 with SMTP id r69mr20522945pfl.205.1520375137718; Tue, 06 Mar 2018 14:25:37 -0800 (PST) Received: from himanshu-Vostro-3559 ([103.46.193.14]) by smtp.gmail.com with ESMTPSA id s75sm3238998pfj.43.2018.03.06.14.25.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Mar 2018 14:25:37 -0800 (PST) Date: Wed, 7 Mar 2018 03:55:30 +0530 From: Himanshu Jha To: Shreeya Patel Cc: jic23@kernel.org, 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 03/11] Staging: iio: accel: Remove unnecessary comments Message-ID: <20180306222530.GA2604@himanshu-Vostro-3559> References: <1520236170-14668-1-git-send-email-himanshujha199640@gmail.com> <1520236170-14668-4-git-send-email-himanshujha199640@gmail.com> <1520371619.4202.11.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1520371619.4202.11.camel@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Shreeya, > I was just going through your patch for giving myself? > a habit of reading patches. Great! > I see here that there are many comments which are necessary > have also been removed. > Jonathan told that some of the names do not explain > much about the how registers are related to the orientation. > So it is necessary for some comments to be there here. > > I saw your next patch too, in which you are changing some of the > names for betterment, but again, that doesn't cover everything which > was told by Jonathan. > > Here is the link to the patch where Jonathan had given detailed? > description > > Just sharing this information so in case if Jonathan agrees with > this then he will not have to explain it all again :) > > https://lkml.org/lkml/2018/3/3/104 Well, the naming of macros is debatable as Jonathan pointed out[1] and the unusual/odd naming pointed to you was for rotation registers #define ADIS16209_ROT_OUT_REG 0x10 I renamed the unusual/odd naming macros for eg #define ADIS16209_DIAG_STAT_FLASH_UPT_BIT to #define ADIS16201_DIAG_STAT_FLASH_UPT_FAIL_BIT as it didn't look like a failure bit address for which I consulted Jonathan to which he agreed. Also, *DIAG_STAT* seems like a good name since these status registers are serving the purpose of diagnosing the device behavior. Again, GLOB_CMD stands for Global Command register for controlling the deivce operation such as Fatory Reset, Software Reset, etc. See, it is difficult to point the perfect names than the suitable ones! And let's just leave these *bikeshedding* ;-) -- Thanks Himanshu Jha