From patchwork Thu Mar 29 09:12:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shreeya Patel X-Patchwork-Id: 10314775 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 64A1C6055B for ; Thu, 29 Mar 2018 09:12:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57E41285B7 for ; Thu, 29 Mar 2018 09:12:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5624D2A2B0; Thu, 29 Mar 2018 09:12:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 01D502A2C8 for ; Thu, 29 Mar 2018 09:12:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751908AbeC2JMJ (ORCPT ); Thu, 29 Mar 2018 05:12:09 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:34058 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751973AbeC2JMI (ORCPT ); Thu, 29 Mar 2018 05:12:08 -0400 Received: by mail-pg0-f66.google.com with SMTP id y16so2127394pgv.1; Thu, 29 Mar 2018 02:12:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PS1w9YhsYBwbQGVxexszCuytUBhuAXX8KlCZiZvPAVA=; b=LDoKpA0WeQHqjWNl9qkQPaie8YsETqutCISDlXH8rD3T3Cz/zW1D3iNw6uJlCGv+iq n1iA+cQoZsH8uw5V1w76mxkY7kengbcocbbutr+kYx6xmSEDZ/pXq97z5kzZP008pSpC RQ9lHgTyQfImjmiLr+RtMuewNu6t1kQxwcu9ho6cj4/BTHNj//imRp7V8v0qT5a3l1Md 28YSBZU5smfTg5Vrr4ZwqJIBAXy3ZoEaKqxo389MddVVWOQJkp4vgyJ64qtn+5Uq5cgf iFdrgPN4hv5zMuLe6Zoq6vrE6anzLBkGXKgnP/IqTcGyzRh0km5zUKhzha1HFXa9IC58 ZGXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PS1w9YhsYBwbQGVxexszCuytUBhuAXX8KlCZiZvPAVA=; b=Xii0fng6PP1dcmf1mOJRsCLI9akjufZfr35HAUKoBcU7QKR6E73CClWp4/HqKleimR TU34ElwNp5nou2mJjn7WOpqUsbwYJwtoqISpY9ilNI29kWUd9ZdYgNKBC5pSq3wtkCVN SRF4LaRyf86LutCJ8fYhF6CwOs9JYIllUu919LFh6IYTkgLXoi9XYe9ZO7tESYCHjIp5 EQnyvbo+bdbHYIvMr6P073dMZvC/D3+3UNWNv4eClWGqMLVo0wq0OTv82z4sV8ixdnN6 UE+X0F5wvrmmd0MjotGqx/qFAhg0NZrXvtS0JoT13aji4j/sr9BivLiZ8EEAFAsADS9x lphQ== X-Gm-Message-State: AElRT7Hm8WCGCa4O4YClCH7BYEFUUMgYRNH39nBEI5Ahk78Jfbdf5/f4 wTNbDJEW1kE3VDBk0CTzJr0= X-Google-Smtp-Source: AIpwx4+nXicQCn2Rs4bslluL8miz9gDa7/XjSIKBwMDh3A2Y3ewgeicvYNY0KqgoUnRklPbMXPgCYg== X-Received: by 10.98.97.1 with SMTP id v1mr5768718pfb.119.1522314727462; Thu, 29 Mar 2018 02:12:07 -0700 (PDT) Received: from shreeya-VirtualBox ([103.212.140.137]) by smtp.gmail.com with ESMTPSA id t128sm11235759pfb.157.2018.03.29.02.12.06 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 29 Mar 2018 02:12:07 -0700 (PDT) From: Shreeya Patel To: jic23@kernel.org, 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 Cc: Shreeya Patel Subject: [PATCH v6 1/6] Staging: iio: adis16209: Indent the field definitions Date: Thu, 29 Mar 2018 14:42:02 +0530 Message-Id: <508a70d5477067c083408fc81e58023c7e91bc95.1522306893.git.shreeya.patel23498@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Have indentation in field definitions to make them clearly different from the register addresses. Signed-off-by: Shreeya Patel --- 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)