Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1742715imm; Sat, 6 Oct 2018 09:27:40 -0700 (PDT) X-Google-Smtp-Source: ACcGV60DOZw6LTtUCnywyj7XH+5XdaD6pOEtbg5kqVOJcxpThzckueVPOxV8qa+njiSJwjPQa4Sy X-Received: by 2002:a17:902:44:: with SMTP id 62-v6mr16809677pla.181.1538843260761; Sat, 06 Oct 2018 09:27:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538843260; cv=none; d=google.com; s=arc-20160816; b=eAT1GAP1jVsCJ2CPDrIH+Tv/uRsTxhrLRCqOfeib8Bah3ikhTfoi3CDg6fveUSpHNm GfYXxhJ9DL0FQhD900KwcKP4bx/PCunD1i4FCl1dasLyzI45nEPb/xsGcBwjpg7Z6cDw wNbu1T6f725xxbxRMh7c+5ly0/XWsCxV+OOjj4Yq8r33o1Adn++/OoMIqxQlR4eY8pyN 2hvRNaGEmyMHkFzlpegEGi3D8J/qfgbwfKipwFL3w67RbprGmCbfhH7ph21ixMCHd5xQ yqloXlK1+DVeSEFKISKvpYrGp7TluPAC9oV7cHSucpsEkapx3I7Y4UP2AjJkUa1bwWoJ P34Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=5AOdYjiWJ4t8xEnWc8GFhiQ4jwvaMABs6lSPdqosYXw=; b=TQaSX5xI8gUh8sRviMvw0K8XnCnN+TiIOPWgp3mc4FaJSM/wdFBfjQj2oFd0tfyqWK xCW4tD77VqT09r0t6h2VXtsJuQpDQjjMS527ZeT3YhOwVD3VXGHnHeWsfIaNZQLaDtQZ uvjgpWPxEfY4e+/gHJOYz2G0rJWNvmJMOM2K8tjbflLpk8STgT6pYPPmv//JU/WEysEW q+sWdV1b20c8ka4ReL9qdjWPxNCmdatA0OU2XElVh9RTcnOVvHwsq71VXuNHIHRNsG4/ 32cbfKccZHWe5bGNr/BpooeyI8v19OjoghE4YqGp48wJf93JyjTJpzCxtaTo5BpD7RoY kCOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=oXDjbvGl; 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 a7-v6si12061932plm.258.2018.10.06.09.27.24; Sat, 06 Oct 2018 09:27:40 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=oXDjbvGl; 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 S1727694AbeJFXbR (ORCPT + 99 others); Sat, 6 Oct 2018 19:31:17 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:35673 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725266AbeJFXbQ (ORCPT ); Sat, 6 Oct 2018 19:31:16 -0400 Received: by mail-qk1-f194.google.com with SMTP id v68-v6so2771951qka.2; Sat, 06 Oct 2018 09:27:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=5AOdYjiWJ4t8xEnWc8GFhiQ4jwvaMABs6lSPdqosYXw=; b=oXDjbvGl+UTZeHErd8QJzz/r/pYKAj+WmSOGSad4GhSv+un7sXZS3ixSIY665QRCtl Tek9+PKgalj503MRjmOuHm2ymTecQZYtdrWdFwG5yEnAZD4nMFFe04XzeeLIISr4v/Db LmmXZsljUqQFkTbwl8zcz0l26RDB2bnfuXV/Xw5UW1YApLomlXJ3ICaxb47v0MH8ohJN P/HPFPv3uAXzNfXUG7D+ap/9WuE6MK26lxAusTJkxi5gUibE1Ca3zztWj7ncdHJgRAj2 6rZS1tnHf7d4ffupsouMtE/oyGoAbuGitIERm+HKASGKgZB9pSQQkhZTVoiou3L4liJQ AeOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mime-version:content-disposition:user-agent; bh=5AOdYjiWJ4t8xEnWc8GFhiQ4jwvaMABs6lSPdqosYXw=; b=TUqwFoIpNQjpWcoXubRAYD/66TrtPamI1kpZQTu7x+j8v3hZlW3tNxLQZT2bwxqeXr HDat2lqpuK/DinwGf+nW8iWxgAOnMb+lhJTtjO3P5eJKiuwE3wldF3QxH2X84kwi7f07 fYCTSACg8EQtS1hcSz1gfuA2+shalWm0+Ck5KI7v4MdlO3HId2vPe/GqrceKYifxTXzB YIeGPpJBxKOh8tIDBrDFtW/LV+O/YN+/ZcvqA/ccbQver89PESbbrOoF4CLbx39URNvX h07BkUSs72F89wqJR4MsN7kR7osLJQ+KX7Mx0rb2rAJcPijMN+KAsNtTIMwqriwtT7jE LcXQ== X-Gm-Message-State: ABuFfojPcW6MqkO/MA6Q8180yzx5ruuGCHjx5bM1a6g+oUzGBT5TkeFq Acowkf3wm8+XIU+xxGumPqA= X-Received: by 2002:a37:a70a:: with SMTP id q10-v6mr13314761qke.110.1538843238137; Sat, 06 Oct 2018 09:27:18 -0700 (PDT) Received: from localhost ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id m2-v6sm3582064qkg.92.2018.10.06.09.27.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Oct 2018 09:27:17 -0700 (PDT) Date: Sat, 6 Oct 2018 13:27:15 -0300 From: Gabriel Capella To: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Greg Kroah-Hartman , Michael Hennerich Cc: linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: iio: adc: ad7280a: fix 2 checks Message-ID: <20181006162715.GA8476@mantaray> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch does not change the logic, it only corrects the checkpatch checks. The patch fixes 2 checks of type: "CHECK: spaces preferred around that '-'" Signed-off-by: Gabriel Capella --- drivers/staging/iio/adc/ad7280a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/iio/adc/ad7280a.c b/drivers/staging/iio/adc/ad7280a.c index 58420dcb406d..a4b4f8678c56 100644 --- a/drivers/staging/iio/adc/ad7280a.c +++ b/drivers/staging/iio/adc/ad7280a.c @@ -750,14 +750,14 @@ static irqreturn_t ad7280_event_handler(int irq, void *private) } static IIO_DEVICE_ATTR_NAMED(in_thresh_low_value, - in_voltage-voltage_thresh_low_value, + in_voltage - voltage_thresh_low_value, 0644, ad7280_read_channel_config, ad7280_write_channel_config, AD7280A_CELL_UNDERVOLTAGE); static IIO_DEVICE_ATTR_NAMED(in_thresh_high_value, - in_voltage-voltage_thresh_high_value, + in_voltage - voltage_thresh_high_value, 0644, ad7280_read_channel_config, ad7280_write_channel_config, -- 2.17.1 (Apple Git-112) -- Gabriel Capella gabrielcapella.com hardwarelivreusp.org +55 11 98124-5668