Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1089935imm; Fri, 5 Oct 2018 18:25:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV63Eo3V4UKoYrSPb7urfhJIiaHJAD3JRr/1pqNaCdDutcqT7bmzJY70ya6F/ZGYgAqs8WVjM X-Received: by 2002:a17:902:292a:: with SMTP id g39-v6mr13948728plb.269.1538789100214; Fri, 05 Oct 2018 18:25:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538789100; cv=none; d=google.com; s=arc-20160816; b=Yj24ChB0UTTPiDh/TYEusFrGgiwFsZq85ayBtakJMy7cEHPehPtm7ajZvivBbHL9P0 72Rhc1qst/86hPMcXzVUBRy6wDWhelj/4wicmt3nR6D4XGINJjVyqo+2ME/QAs+Qps7W 3M1UU8F+B53mMWUW+kncHuwWt1L675yqMMK3tMBlKqw5pfdtgTsfAd3Gk63AtfzWM67F xPij9R9c099cnd/4aYtboDQxJ4YwkTxCioKSivkc2roCUFxkxZx8jg32NivYVd7ZZrZf ZxlK3ZXX7r7yQn4IxGuabEYxHQuVKzgeXt75Cx4TPpf5oUvpvxiz8GVit0So+n4WP+S4 DWOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature; bh=+xfeCp5wM3qAshHnoJfh/upuETYwzId/xw7Du0ES+aE=; b=qfWnxzAecXwTym1qwGLP4twzWafNHjHXzIktcWzhLn9Vg5dYw4uPkEs5laHpvVYb+i qJpU1O/XX+xxw0t5Uu42rSkEce4gdbR9A7MpiW3yfNxK2F5Ktdes2fmwQG1ybt8pe/Jv 78RJNU+plJjbZRHj60dLli4B/ldq7N7KjqkowljXOAgOug2Lg7NsKB2Ivk1DRDUnA9dh hMKz0AWyyw6gE1XHRbGVvrIlqy0SaNtsqIYjmXVzCKjZapV8y3cAz92unzXCqv5yFAmo xzFk9Vik3MCoTfKMFiQs4bXRQkpL8rlH9zKfOzTRz12ra7U9asmxHw8OQ3BvF2U+AL5P v9Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@usp-br.20150623.gappssmtp.com header.s=20150623 header.b=HujoWfmZ; 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 n33-v6si9976636pgm.510.2018.10.05.18.24.44; Fri, 05 Oct 2018 18:25:00 -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=HujoWfmZ; 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 S1729047AbeJFIZ6 (ORCPT + 99 others); Sat, 6 Oct 2018 04:25:58 -0400 Received: from mail-it1-f194.google.com ([209.85.166.194]:35435 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726759AbeJFIZ6 (ORCPT ); Sat, 6 Oct 2018 04:25:58 -0400 Received: by mail-it1-f194.google.com with SMTP id p64-v6so5275504itp.0 for ; Fri, 05 Oct 2018 18:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usp-br.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=+xfeCp5wM3qAshHnoJfh/upuETYwzId/xw7Du0ES+aE=; b=HujoWfmZILWh2+fUdL5Rc7I0RO2eLo4nq0Fq7TH4eFua1lsqdpVsHu99vTYks72rOH 94iUHBGfSku2OXgtux9PyHvAHp/9azHGk5E5YIInzVqEVT/3j3ZSVH+w0XZ/cswvsQDr 7+9x58Vs2XButebfzkcRqZNL3TbTanQWNnGrE/Ego1sSFOwS1bJYV6wOgKXaQCYugW7o mBXFub2/B3u7oWs8/usRlf8UQis7aClZMAOJCD3NqwH/wIQPWcnBbfz09GmxPPXjUd7U XJGsTcI8cgeXwaZfUr4wNTnBCLJVO/WjGojP4uwu0pTBuJwgQwq852vNVFw3AsDV03Lj Yh7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=+xfeCp5wM3qAshHnoJfh/upuETYwzId/xw7Du0ES+aE=; b=gG1MIVx/ByO7l3d6HouOQJTHJ7xrQa6hvmkryk6zECr0PYhuBT6eYUHSuupHkTlUif 0O/qQdkeYRKGbQoOP7S4TKyAX2lKNrrkGEBbvSoXY/cG6VTra/JiyVp9wC7sDxuy7B5r RQVRM5MKkEKomdA637CCbAtayeDp0ruCmhhlBUKuSPF2ZIsfJWiwulXNWCJcwnJLYu7u HlpOLlvIX7S3Aq9+80nH7/B/56He5MfPDbj5Bx66J/50RNNpV7tOqSTWEyxR/abSwb7Z mGId1b3eet/fB0OR7R13dvq3aRHrxNWdzZ5yFUrXtCd21UfixXWzP5NnOaS90cJ0cfXf V45Q== X-Gm-Message-State: ABuFfohfm7o42F9NPBxaUfRc641qVZCt4nE/h2VCoPtCIVg8cbrM8ZWY kXWWcsR81JgWbegSw0zl9KHFnELqyBjRg3tF3Tb1Pw== X-Received: by 2002:a24:65ce:: with SMTP id u197-v6mr87602itb.99.1538789077593; Fri, 05 Oct 2018 18:24:37 -0700 (PDT) MIME-Version: 1.0 From: Matheus Tavares Bernardino Date: Fri, 5 Oct 2018 22:24:26 -0300 Message-ID: Subject: [PATCH] staging: iio: ad2s1210: fix 'assignment operator' style checks 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 Content-Type: text/plain; charset="UTF-8" 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 by checkpatch.pl. Signed-off-by: Matheus Tavares --- 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