From patchwork Thu Dec 28 02:49:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JI-HUN KIM X-Patchwork-Id: 10134363 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 853716037D for ; Thu, 28 Dec 2017 02:49:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 748A92D0C9 for ; Thu, 28 Dec 2017 02:49:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6710A2D0D1; Thu, 28 Dec 2017 02:49:35 +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 055052D0C9 for ; Thu, 28 Dec 2017 02:49:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753169AbdL1Cte (ORCPT ); Wed, 27 Dec 2017 21:49:34 -0500 Received: from mail-pl0-f68.google.com ([209.85.160.68]:34954 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753166AbdL1Ctd (ORCPT ); Wed, 27 Dec 2017 21:49:33 -0500 Received: by mail-pl0-f68.google.com with SMTP id b96so20404230pli.2; Wed, 27 Dec 2017 18:49:33 -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:mime-version:content-disposition :user-agent; bh=mVUsjWWSsff5WyWyGmATnLkvv51qxt5s6eLrjDzuTS0=; b=S9ep8im52PbJ22fFlplvYjn52hCX/mEkAH3D4BWpFEIQav8lkOW7kguP4BWITF27q1 cfeJ/0JzWCw/5+YOkbJRGyKMkW2Db05bo8GG3m5Jst3iuG5q2gaq7dbAQOmee8h/lV9v 11ZFMGlhoBNqrrLMiaQ8obIV6p2mQAbMLuWRbt6/ewxGWL0JgWPWUkc28Lsg9KlX7etF ld6COZmEHUCd3Rr0VGS7hbim3IARm4+5eu8b61zC3N2sq5pu4sjy6p6+WqOtuMSVweKO g3HtGxnqcK+fNh+W5F+pnyFotz+VkfEko23fmerrKUXq7I+FWAo45i3+1ZmlH65oIAqY wvEQ== 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:mime-version :content-disposition:user-agent; bh=mVUsjWWSsff5WyWyGmATnLkvv51qxt5s6eLrjDzuTS0=; b=ruZjsyhlx3MW/mcZmrA3Qqt45uHrQ5atrvkEUlJvivYW59D1tuyMhANUlugeoYyfvm B63pPn1R/gJaYq9g7K7d4z7VfHWRGrdbCjc+U65nHRC3sh4DMQhJEd+UCzOZHO6L3WDq haXnSaNW0q9QnS6+CfjruNd7S3zbj6WS5MeoNUnyJyPj21X/gtdlpv3kv5qFBpzdbDPn XQjzgqEPCC6YrFZtA9FJMCuH2mEIRa0hZoCR3zBM4YNhOr1WoEi3nz8pKY93cPoPZTly kbZjo11ZB8+2r37jcBqUCwGhey3NBEqpsrqdUNgI9lRELCE6m8obi4xZLuPVn/kC67VC 6EBQ== X-Gm-Message-State: AKGB3mIHurivkuCMWDJNAkCf91P+MrAbHTJiK3hA2ReEXEm2/BQZC6sz tT95p/NMTLpRD1+oWFN/Im8= X-Google-Smtp-Source: ACJfBougpykcp9iTWniVatGN9KdeIU18eq8KPjtN/0d2IxQrWm4ColhocQ0yBUzTpy19x6ABW7ERYA== X-Received: by 10.84.128.99 with SMTP id 90mr29867246pla.221.1514429372680; Wed, 27 Dec 2017 18:49:32 -0800 (PST) Received: from MacBook-Air (96-68-179-129-static.hfc.comcastbusiness.net. [96.68.179.129]) by smtp.gmail.com with ESMTPSA id z3sm29460762pgr.93.2017.12.27.18.49.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Dec 2017 18:49:32 -0800 (PST) Date: Wed, 27 Dec 2017 18:49:29 -0800 From: Ji-Hun Kim To: lars@metafoo.de Cc: Michael.Hennerich@analog.com, jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, linux-iio@vger.kernel.org, device-drivers-devel@blackfin.uclinux.org, devel@driverdev.osuosl.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] staging: iio: add spaces around '-' operator Message-ID: <20171228024927.GA3113@MacBook-Air> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) 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 Clean up checkpatch warning: CHECK: spaces preferred around that '-' (ctx:VxV) Signed-off-by: Ji-Hun Kim --- drivers/staging/iio/adc/ad7192.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c index f015955..c4eff71 100644 --- a/drivers/staging/iio/adc/ad7192.c +++ b/drivers/staging/iio/adc/ad7192.c @@ -340,7 +340,7 @@ ad7192_show_scale_available(struct device *dev, } static IIO_DEVICE_ATTR_NAMED(in_v_m_v_scale_available, - in_voltage-voltage_scale_available, + in_voltage - voltage_scale_available, 0444, ad7192_show_scale_available, NULL, 0); static IIO_DEVICE_ATTR(in_voltage_scale_available, 0444,