Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4015644imm; Mon, 8 Oct 2018 13:22:57 -0700 (PDT) X-Google-Smtp-Source: ACcGV62emFgLAQSSpLNPWuyhXpeQa8UZhVMT8EUkFpAOmSNEO2vgxOUWmNY6bk2orHMlW8Sj6ROE X-Received: by 2002:a17:902:64c1:: with SMTP id y1-v6mr24693186pli.301.1539030177368; Mon, 08 Oct 2018 13:22:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539030177; cv=none; d=google.com; s=arc-20160816; b=m3tYKOjUMv5mXXLNkwg+DL7htv+qvC4AT7Vsq3vxg9EcLnGADNts3iTDEAr3puw7tW wZRfSBoFB8IjlFt7bixnU49t4xiZM5JTmhRDkVC6NBwFDM+wyNXX05C4FNxGEp5l5T+6 COzA2n5thCmmiHDie3ZjDaBtDeoGm/NlGF93y1qvKcQP+i6a147UFYvaf//iNYdncIIM URuV9UTE94XVLzlOokluK1Ed/zc9SUi+gePqhJcstRC6HHpxLmlIbeJ2y3b2z0epFWTx YNKCQL/ax03WdtWiNEc1h+FzGp/X7CnQGmRmOhsmf6yr0+S7kqMpLWmvME0o1Qqvw8zZ 4/Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=YDdEFCPendZqK6Ny8wFpnpZQa4TSVAyhKg3SrMA9vp4=; b=Fquk3cLFyrUp0YlKJOn625d2IRGtdq+20MxwX3u/3Mmtsw0IibrBcNTLGpwf6QbiRF norkQ0J7nWOpjzcBTh43e0rlyHgD0hIEULKvxkZ6bwL6nY1BO7gRDsu2FFwLGBY+2uUV mebLSReFTOAAFBNQ+QSdAlNmmjlbYL6/22ov55vatR2uDjon+56CGgKsfPq9PbzsAfQ4 WB3e/3fp070r3vJ3NyQ5yQfUcecTvUc7UDoS+g5bVYvhQt/biugFSVp1MbaRfGOc1kFp fCSKrHt97PhGSKlscdjhBf3v95lGSxGbzfxCDPuwWa5avlgP9v82M357Jd3B7v/82RPw VgFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=B009+mt6; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9-v6si17655775pgn.512.2018.10.08.13.22.42; Mon, 08 Oct 2018 13:22:57 -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=@kernel.org header.s=default header.b=B009+mt6; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726855AbeJIDfq (ORCPT + 99 others); Mon, 8 Oct 2018 23:35:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:50580 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbeJIDfq (ORCPT ); Mon, 8 Oct 2018 23:35:46 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 57B9F20C0A; Mon, 8 Oct 2018 20:22:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539030136; bh=iIIW2k6ORDfVPw75cU/NxO6sfe2KosnQeEiFSgn4Fg8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=B009+mt6RSNZMICuprqS57pRaSdsFc1eJsJK9m7Af4BPU98Abkc+mwXGnrqZ0gldx 7wjwNH5oL6fPsKrlrR2at9oxobu67v+vGgbZqZpklMuwteKKKCweVevLAkl1mqLYXP kOKrKhqOcsLbzYz6kvx+Mb8NDX9YT+NaU8kbBfbc= Date: Mon, 8 Oct 2018 21:22:11 +0100 From: Jonathan Cameron To: Matheus Tavares Cc: Lars-Peter Clausen , Michael Hennerich , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kernel-usp@googlegroups.com Subject: Re: [PATCH v2] staging: iio: ad2s1210: fix 'assignment operator' style checks Message-ID: <20181008212211.012a817c@archlinux> In-Reply-To: <20181008032938.18801-1-matheus.bernardino@usp.br> References: <20181008032938.18801-1-matheus.bernardino@usp.br> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 8 Oct 2018 00:29:38 -0300 Matheus Tavares wrote: > 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 Great, thanks for sorting this out and coming back with a V2 so quickly. Applied to the togreg branch of iio.git which is initially pushed out as testing for the autobuilders to play with it. We are late in the current kernel cycle, so this will probably not go upstream until the merge window after the one that will open in a few weeks time. Thanks, Jonathan > --- > 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)