Received: by 10.213.65.68 with SMTP id h4csp187958imn; Fri, 30 Mar 2018 03:42:09 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/yPaE7xRkLxmqjKHkyYyqUIJ45mqRYxBoR9t4S6WY2/IYXzaXxemXB9Ok/DxU//YVMLIDP X-Received: by 10.98.80.5 with SMTP id e5mr9471898pfb.131.1522406529135; Fri, 30 Mar 2018 03:42:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522406529; cv=none; d=google.com; s=arc-20160816; b=Qh1xiaNna/kDi9TfIjqoGt9gsU1FQiZO+9NZ/BbAixnejogP5GLGkaNLqR+NdJ8E7q fn1zSAAkzU4mGLikPEseuM/TARS5FbYA2fXHBG49KdGmaxgxRRuFR0/l6WyxvfX4LVw4 sNbusBFr44PifXT6miYw8MweJN6g8D7ejW/QKtNUFeqJmjbj1UVYVH0tyaWhuuj3XZtB DQODU/DZOrRhYpjLdgxe3TN+/1SJxc/CrIpYSDTPaOKj8bYgVkoSOOcmRGJaBpfnCd69 sYtcHDLRC1ZMY5/53GV4A/qObP8mmDy+QMQQeoSdstb9nijG1XOZPAgyf425xmFcOodm 2fjw== 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=DA8QCx3faFaa7WkH1PbMMXsy0NtlbnWdysowM92qhDY=; b=tsApEin3V1fbwjtx3bi0+e1kIp2vAoBy54vkpJ+q4N90BgdIG8rGTNPsZhbDdzOdrQ GMyima8lfOcjg+SyMsefxH3l7Q6wPUwtt6HkYQQ9hWEggdOg9Cf4uUKVDVeWa8nCyd1b zGmjhKgtBPaVIsgYOGme0T3nimPDa3v+FHDKbenVGAW2rENizrRqD5IlfBVf93F/ddp6 nLcNLgewdLx1f0eKkIDZ/GWnW7d/nLc3CloS7M29DMgNghdg9MO5DaUor3j/9VFREC71 1eiSPMTluRbnrrmGOgPIM47WmTl+yPV3AInDwezD2nWmahRj1U2T8kB8uxPsnxOFbd5S qOUA== 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 y5si5472632pgr.152.2018.03.30.03.41.54; Fri, 30 Mar 2018 03:42:09 -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 S1751592AbeC3KjV (ORCPT + 99 others); Fri, 30 Mar 2018 06:39:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:34442 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750967AbeC3KjU (ORCPT ); Fri, 30 Mar 2018 06:39:20 -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 4221021723; Fri, 30 Mar 2018 10:39:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4221021723 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: Fri, 30 Mar 2018 11:39:14 +0100 From: Jonathan Cameron To: Shreeya Patel Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, Michael.Hennerich@analog.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, daniel.baluta@gmail.com Subject: Re: [PATCH v6 1/6] Staging: iio: adis16209: Indent the field definitions Message-ID: <20180330113914.7d9dc309@archlinux> In-Reply-To: <508a70d5477067c083408fc81e58023c7e91bc95.1522306893.git.shreeya.patel23498@gmail.com> References: <508a70d5477067c083408fc81e58023c7e91bc95.1522306893.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 Thu, 29 Mar 2018 14:42:02 +0530 Shreeya Patel wrote: > Have indentation in field definitions to make them > clearly different from the register addresses. > > Signed-off-by: Shreeya Patel Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Note that, given the timing wrt to the current kernel cycle (merge window will probably open this weekend), this and everything for the last 2 weeks is now destined to go upstream in the next cycle. Thanks, Jonathan > --- > > Changes in v5 > -Change some macro names and have indentation in the field > definitions. > > Changes in v6 > -Have indentation in the field definitions and do not > change the names of the macros as the patch for changing > the names has already been applied. > > drivers/staging/iio/accel/adis16209.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/staging/iio/accel/adis16209.c b/drivers/staging/iio/accel/adis16209.c > index a8453bf..0e6366a 100644 > --- a/drivers/staging/iio/accel/adis16209.c > +++ b/drivers/staging/iio/accel/adis16209.c > @@ -71,13 +71,13 @@ > #define ADIS16209_STAT_REG 0x3C > #define ADIS16209_STAT_ALARM2 BIT(9) > #define ADIS16209_STAT_ALARM1 BIT(8) > -#define ADIS16209_STAT_SELFTEST_FAIL_BIT 5 > -#define ADIS16209_STAT_SPI_FAIL_BIT 3 > -#define ADIS16209_STAT_FLASH_UPT_FAIL_BIT 2 > +#define ADIS16209_STAT_SELFTEST_FAIL_BIT 5 > +#define ADIS16209_STAT_SPI_FAIL_BIT 3 > +#define ADIS16209_STAT_FLASH_UPT_FAIL_BIT 2 > /* Power supply above 3.625 V */ > -#define ADIS16209_STAT_POWER_HIGH_BIT 1 > +#define ADIS16209_STAT_POWER_HIGH_BIT 1 > /* Power supply below 3.15 V */ > -#define ADIS16209_STAT_POWER_LOW_BIT 0 > +#define ADIS16209_STAT_POWER_LOW_BIT 0 > > #define ADIS16209_CMD_REG 0x3E > #define ADIS16209_CMD_SW_RESET BIT(7)