From patchwork Fri Mar 2 13:23:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shreeya Patel X-Patchwork-Id: 10254605 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 71935603ED for ; Fri, 2 Mar 2018 13:23:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FCFF28990 for ; Fri, 2 Mar 2018 13:23:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 53F2F28994; Fri, 2 Mar 2018 13:23:49 +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 F111B28997 for ; Fri, 2 Mar 2018 13:23:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424956AbeCBNXs (ORCPT ); Fri, 2 Mar 2018 08:23:48 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:36017 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1424713AbeCBNXr (ORCPT ); Fri, 2 Mar 2018 08:23:47 -0500 Received: by mail-pg0-f68.google.com with SMTP id i14so3786362pgv.3; Fri, 02 Mar 2018 05:23:46 -0800 (PST) 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=PXjBbKlJoBbli7/VYvdoX+Gm3VV0jEKHjq5bE8i5Nq8=; b=LMyfi5UMoSfyg1ajvbW7nlYa6Md3cDkKMwJzX638+7FpZ2EUQaeyaDCZMBQfVkoeU6 JImpXqAYEqmnu8zDgvgOxQLBFWbHur+WEC5pMCUIJ9MKslmUTfgSuG31i1T7ijmvCWkz bxX/R7YLnbZaE87yhJyMfFofH5B4HCtXYJCjOi1S8WHHr0NiTuBcWMYjmrsLzchhet8B MFHwaTv6TZlXVEnuRRheBO5+BLsGC7IgdHNyVGMAnreQVEEFO5hWqzKmwOiQ0Tp9dXph wnGnaQpHqBmkvuHeMWXPSGhAWSR4UlPO6TAcYzX2YmZ5neeiyivwmZ+YebBK8oDzG2Lk OMoA== 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=PXjBbKlJoBbli7/VYvdoX+Gm3VV0jEKHjq5bE8i5Nq8=; b=WkMscf8ILhbU8f/nFE3/OK05OwcRuMQRvc0GwR69J8rdYCiUsEmu5a9tMIOrVAsMwg ZM/A7UyOWTfAUX/WZvBziDLt0pLlcCBDvaQaYW3ZUaweYD2/eNrp8+7/QqwjpNmQHUib h72NhGCtkGncDS0HdSE7dvNHrOAAXxYbUJ8XWcW29Kw9dlAN9FHnHZZGyPUBLuDjH+w8 OWTPBkwTunAUaDgBSe/Cmaz0OoFdBwelC7AIKqiVoE40zimiYr3JdVzS2WsSq2FFGGHJ hXat0uuzJ9I3VOUUpkv0pTH/4g+cjqFQLJKS4xlqVbe8ciJMRavJlScHs2+pXDC6Luqr sN7g== X-Gm-Message-State: APf1xPAZKLSXQaW6arfPP7PKjtnuB5C1CLtjyDgFqfMIi8aO/X7mxCjv CmNMVfVmmaZDANNHSVgsxgA= X-Google-Smtp-Source: AG47ELtrSxFweki/8X9KwSAv0U9T3PwSlqvPHVYIQSTlmXjq24+gBqcBNOLiKmg52cGBvjphLcztlw== X-Received: by 10.98.66.89 with SMTP id p86mr5643056pfa.228.1519997026342; Fri, 02 Mar 2018 05:23:46 -0800 (PST) Received: from shreeya-VirtualBox ([103.212.140.150]) by smtp.gmail.com with ESMTPSA id g80sm13398730pfj.101.2018.03.02.05.23.45 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 02 Mar 2018 05:23:45 -0800 (PST) From: Shreeya Patel To: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, 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 Cc: Shreeya Patel Subject: [PATCH 2/6] Staging: iio: adis16209: Change the definition name Date: Fri, 2 Mar 2018 18:53:41 +0530 Message-Id: <646c1e2ac1311db1879a5cae58f5f0a0c07114a5.1519995673.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 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 --- 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) |