Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3108138imm; Sun, 7 Oct 2018 20:30:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV63KQVbJuwqT74nzWhxGx8a/Y32+nXZkXjX69Lt8W3frFn2bhVP1GIhMjGt9LVvhqCETMfMf X-Received: by 2002:a17:902:9f97:: with SMTP id g23-v6mr21828255plq.68.1538969428716; Sun, 07 Oct 2018 20:30:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538969428; cv=none; d=google.com; s=arc-20160816; b=StWdFnpXbjY1o1Dk5+x+0xkVkGPNk8aBWQjxRt47Ac9MlU5UJ0OYOcLd3m4yPZKKog cbrtmkdbOETyUkKTtoeyW3whlCUGkrYwUOfbqc/lVsIny4M7UKwaDpzRqIwYeCFF/L2q p1OMD7nt5tkCkk9ctJcUIj0HBVfoXczfVJHZZmv7Vlkd4fCmIuz2DoHpOR+T/32LxC9D KMi1BHtKEIo8BbdfLtveCov3JmNPAIPIUaMPpIYsGAlpantZ+Ve9Mc+4D9UbnNUuYNj1 8OyxkjTLT/GWDs6RU0oSkppJJY012taF/NPLnQsizwj0t81Zd+wdOs9gtHkpwFBoUjUF s8Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=0HJFtfBtXyrpZupFgBzUxECYWTLQ+/Rkof+ovmQGJMQ=; b=RvqCkOEIIhPniJeG7tlylxHiGQVZU17bedEUUWxrmK+Vf3boFc9x6U8AEN+EilFQa9 ireZp9qUz1U7G78ibJ97fREtAPtlE4s4FIdGREoxOg1B+Mb5TaPgJSpujZjKwKXd1iN0 a1Z1rkzuDK7SKh4djR/wQbcl6N5lpzxCsOGLeKfmx+FG4Wc5jA9CkzbDXUgDC5BjiPqA eIqQ9DPlI+5IY949rOE7mJLUG2/ueS6dmstmco0r+ZZltl2tE55RfbQcKDA1Sad0SU7C zSK9hTB4V2nxcJDUrXJErJkN6ZoVvn2sG0p95J9a2nXqwvZTZxTwz4XEUoumED/rpd8i 5edA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@usp-br.20150623.gappssmtp.com header.s=20150623 header.b=YTuBYE6o; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usp.br Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e13-v6si15581451pff.272.2018.10.07.20.30.13; Sun, 07 Oct 2018 20:30:28 -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=pass header.i=@usp-br.20150623.gappssmtp.com header.s=20150623 header.b=YTuBYE6o; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usp.br Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726691AbeJHKjl (ORCPT + 99 others); Mon, 8 Oct 2018 06:39:41 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:36400 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726123AbeJHKjl (ORCPT ); Mon, 8 Oct 2018 06:39:41 -0400 Received: by mail-qt1-f195.google.com with SMTP id u34-v6so19596062qth.3 for ; Sun, 07 Oct 2018 20:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usp-br.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=0HJFtfBtXyrpZupFgBzUxECYWTLQ+/Rkof+ovmQGJMQ=; b=YTuBYE6ot6bcwdlftYJREir8dEI95p2ZLly8SS57LIe1l51RYR/Vx0/Hy1yqVviP3a SGyKGJ9k1rFL2mUTEqOK6qyJLlWcimddp4rleJvJvizLhlAa9WV8wkoAcHmewuTrXlEr ykJq3jUmSRei6DUyxBeNZx0g7M2Be92zCQwEFa+zS3/iFYdetDErybG7ETeCczcdEqg5 K0Y/qQI74909NNz55TJs1BDnJm2Bdymp6QUvOpTR2goWmIoZhzIorHG2m06i7rvEGoCW lLMspplgfLOdpAnY2KrtBSvPqnApg+x5iLmIxINDt3IAGam4xO3GkyZqsJlXQ2h/nLNn MOFg== 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; bh=0HJFtfBtXyrpZupFgBzUxECYWTLQ+/Rkof+ovmQGJMQ=; b=t5wVHfsCZkAAUMP5ARVUNb3FEI1G9DbYrSm7jCLWhqlXgovG6O9L7JyVUoaqinxUvr 0jqmbMNdw/VxPWeI77ocPbtsWOogSv51oyzbmrd3NWNtnCYlWu7ZdwaLwHvnlTjRLpNq 9LWatpRgl13XqJkFGvjk2jWE8+DvNyqWwhpRkGWBZreyDwcFlIqWKR+9jtHvuRQ1b3k/ TbZSEGGD/I7xpmiw0zKU+a8alQbP7HFqvoa6MNaqoUv1V8YirFoj+PRsIyKUcnIuBdAn QwWzmIeNKG8v5gaWUaoKr7WM4sVBfZdk7wu9a6v+gqfh6VatOUueJVVpJL3+QR14nN2I vpYg== X-Gm-Message-State: ABuFfohSRi41Xnf5LAQr0B7rYcGQLACSKbuwKWQuLjp36BgY9C7DvltN ukrz3NYpQ5Fc+LVyG70fToh88Q== X-Received: by 2002:aed:2e04:: with SMTP id j4-v6mr16780678qtd.47.1538969407109; Sun, 07 Oct 2018 20:30:07 -0700 (PDT) Received: from mango.spo.virtua.com.br ([2804:14c:81:942d::3]) by smtp.gmail.com with ESMTPSA id y124-v6sm4289579qke.22.2018.10.07.20.30.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Oct 2018 20:30:06 -0700 (PDT) From: Matheus Tavares To: Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman Cc: linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kernel-usp@googlegroups.com Subject: [PATCH v2] staging: iio: ad2s1210: fix 'assignment operator' style checks Date: Mon, 8 Oct 2018 00:29:38 -0300 Message-Id: <20181008032938.18801-1-matheus.bernardino@usp.br> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes all "Assignment operator '=' should be on the previous line" checks found in ad2s1210.c with checkpatch.pl. Signed-off-by: Matheus Tavares --- Changes in v2: In v1, tabs were accidentally converted to whitespaces. Now, tabs were preserved. drivers/staging/iio/resolver/ad2s1210.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/iio/resolver/ad2s1210.c b/drivers/staging/iio/resolver/ad2s1210.c index ac13b99bd9cb..d4b1c2c010f2 100644 --- a/drivers/staging/iio/resolver/ad2s1210.c +++ b/drivers/staging/iio/resolver/ad2s1210.c @@ -301,8 +301,8 @@ static ssize_t ad2s1210_store_control(struct device *dev, "ad2s1210: write control register fail\n"); goto error_ret; } - st->resolution - = ad2s1210_resolution_value[data & AD2S1210_SET_RESOLUTION]; + st->resolution = + ad2s1210_resolution_value[data & AD2S1210_SET_RESOLUTION]; if (st->pdata->gpioin) { data = ad2s1210_read_resolution_pin(st); if (data != st->resolution) @@ -363,8 +363,8 @@ static ssize_t ad2s1210_store_resolution(struct device *dev, dev_err(dev, "ad2s1210: setting resolution fail\n"); goto error_ret; } - st->resolution - = ad2s1210_resolution_value[data & AD2S1210_SET_RESOLUTION]; + st->resolution = + ad2s1210_resolution_value[data & AD2S1210_SET_RESOLUTION]; if (st->pdata->gpioin) { data = ad2s1210_read_resolution_pin(st); if (data != st->resolution) -- 2.18.0