Received: by 10.213.65.68 with SMTP id h4csp232940imn; Fri, 30 Mar 2018 04:35:27 -0700 (PDT) X-Google-Smtp-Source: AIpwx48Z0+tihOhfvD61ABG1YbtjVDzXxYNQt2qirtTFQtRzNorQTVClEQyBmr/LAp3u9yeb6tZD X-Received: by 2002:a17:902:549:: with SMTP id 67-v6mr13038436plf.276.1522409727471; Fri, 30 Mar 2018 04:35:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522409727; cv=none; d=google.com; s=arc-20160816; b=XDtjRtoOfMeH2UEaIHlGP85TtJeGcTbpTNLy9+Cdzl+cpY3IVtUlQVjXcnY589Bco5 iCKxlvjSPnj3t1CacfPdyd0BLiavCtEsgwmDFJUoeFkaIH1nXFDghZ1c1xcSI6UMIQDj n7vjUWtXKn1eqxfhdO72F+ykF8IiRsps9ycmQd2vUpaESKD4dIMNXZtZ3fFHhtWJ1Ok8 5wmDboD/u78uCx5MzXTFXpgXqdSVpa3s9WvwYfvWtK7L/P+j2vIT37/gG+NdTs80KoJ5 lvexQy6s0eVbbkKZgOSNvGqtErK51wJTsk9MAWavJyp9Fgw5k3OC2ASk1RASLPFsmSv4 S+2w== 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 :dmarc-filter:arc-authentication-results; bh=9JxLPnAUQrfZkoIDhUny5dMH9Wfb4DNOLapVkLL4FaI=; b=w/rTwNSTzf0ztqvfKIHd+Fps9hHkV/UNuW1AvDizRNfAiNpF2YCwE+RX4+kOmtG1cf c0XEe0ospbNu9dEso3JleDc2/1avGYK7Doc9EE0PI8BsjLF1I4QC0NC7WbtY6kRcgtPf XMVJW0Mr7PGVtzQS8CQUdNgMMuWQxOxMMztiz88JOGO2v6QihiMfI1XymjzRII76UdyT h6Pui0Ct3eZPDepLegf4gt3h4V3lCKHgHZ5MPl4AMJrjw3vRbgLPL5e/9eo99lXgwIf2 /faoAbERqcP3OeW5owcg+/aAcQrTJnbl28LELM4flXSeuJ2zAZWtrR0J+6CX9RDTPEOS GtbA== ARC-Authentication-Results: i=1; mx.google.com; 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 z10si5456646pgp.190.2018.03.30.04.35.13; Fri, 30 Mar 2018 04:35:27 -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; 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 S1751268AbeC3Ldv (ORCPT + 99 others); Fri, 30 Mar 2018 07:33:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:37740 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750794AbeC3Ldt (ORCPT ); Fri, 30 Mar 2018 07:33:49 -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 CA4032175B; Fri, 30 Mar 2018 11:33:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA4032175B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jic23@kernel.org Date: Fri, 30 Mar 2018 12:33:43 +0100 From: Jonathan Cameron To: Shreeya Patel Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, Michael.Hennerich@analog.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, daniel.baluta@gmail.com Subject: Re: [PATCH v6 3/6] Staging: iio: adis16209: Add a blank line after return statements Message-ID: <20180330123343.7748a973@archlinux> In-Reply-To: <517fdc2cff0ef238e74c2114fba1a73d2a40a999.1522306893.git.shreeya.patel23498@gmail.com> References: <517fdc2cff0ef238e74c2114fba1a73d2a40a999.1522306893.git.shreeya.patel23498@gmail.com> X-Mailer: Claws Mail 3.16.0 (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 Thu, 29 Mar 2018 14:44:42 +0530 Shreeya Patel wrote: > Add a blank line after return statements to improve the code > readability. > > Signed-off-by: Shreeya Patel Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > --- > > Changes in v6 > -Introduce this new patch in the series. > > drivers/staging/iio/accel/adis16209.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/staging/iio/accel/adis16209.c b/drivers/staging/iio/accel/adis16209.c > index 8f4fa6b..ee7e87b 100644 > --- a/drivers/staging/iio/accel/adis16209.c > +++ b/drivers/staging/iio/accel/adis16209.c > @@ -277,6 +277,7 @@ static int adis16209_probe(struct spi_device *spi) > indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st)); > if (!indio_dev) > return -ENOMEM; > + > st = iio_priv(indio_dev); > spi_set_drvdata(spi, indio_dev); > > @@ -290,6 +291,7 @@ static int adis16209_probe(struct spi_device *spi) > ret = adis_init(st, indio_dev, spi, &adis16209_data); > if (ret) > return ret; > + > ret = adis_setup_buffer_and_trigger(st, indio_dev, NULL); > if (ret) > return ret;