Received: by 10.223.185.116 with SMTP id b49csp5483562wrg; Wed, 7 Mar 2018 12:33:19 -0800 (PST) X-Google-Smtp-Source: AG47ELsDo0xXCWq6isN9EaBvgEpGheBe39+f4PoKJvQnyRVfy03vYBX+KiH/W650pYuuPazWEKYg X-Received: by 2002:a17:902:6bc2:: with SMTP id m2-v6mr20806765plt.432.1520454799740; Wed, 07 Mar 2018 12:33:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520454799; cv=none; d=google.com; s=arc-20160816; b=PQYKJcPoSfHtFKGlyXnBCpPwOqEqUl1mUKVmDQdAp46PggCb+1wLirAw6a3k+ijjFr dxQSjcWciW7cVm6/iLQsFdVG9wzkrgNpueUO/UABGTO2p+f2M8vws6ptSRNZorxnaAI+ VUAaDe0c0XUPSdwRKlBOdWDrhDqIj2t5BuPlA/GUgxdK6oKnULkq/1wdWVWw1jQJCWjC ddl/5EWDsrJF8ZN785gmx2Gy4AgoPzZRxK+SYMNj9b2ttjpFZJ8mF0fSzFvJ1PpDGRSg 9g+410l9eFZBsUy6KePiejzFJbzn5JKZCNQMq1BUkEk3HrZk7zk2QAZ2QaP6OGdQqXz7 c1/A== 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=uqaufD6F43WSbvT4NBhF15lrgaLm/yOhjM7ovCE1ZiU=; b=GFFbuQke+sZ/SfT5kklj6OwbYLj4n6Ducbv0/2yX75w6kzwWa1cd8vLvR/12Ux5iZM wOph30KrYo/NwJo5r0uTqY9HC5c0wHBh174BRnM5XcVauqR7lHtWT8dihoZ4yzNK8kzD OQvI6pRczvPGXl2shKgNk57hVj18dSVpC/bAp/vA6HKcp2vR56iA75yv+wZeTaNYLKkm 2q9JJpDoGQiCrgORVN2x9DPQDjwlMceuY2MDHGZF6D+RKcpoFNbOoAJ5WZftmb5GRQAc ZXpxGz+IQwGTeFbc4BfQxUE39MvLSA/5ak5PrSr9O51tZibmJGxO5LkyM1rE/Zz4vRY7 /6Sw== 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 f12-v6si6150203plo.91.2018.03.07.12.33.05; Wed, 07 Mar 2018 12:33:19 -0800 (PST) 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 S934929AbeCGUcO (ORCPT + 99 others); Wed, 7 Mar 2018 15:32:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:58668 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964940AbeCGUcL (ORCPT ); Wed, 7 Mar 2018 15:32:11 -0500 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 D429921770; Wed, 7 Mar 2018 20:32:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D429921770 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: Wed, 7 Mar 2018 20:32:06 +0000 From: Jonathan Cameron To: Himanshu Jha Cc: lars@metafoo.de, Michael.Hennerich@analog.com, knaack.h@gmx.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, daniel.baluta@gmail.com Subject: Re: [PATCH 02/11] Staging: iio: accel: Add a blank space before returns Message-ID: <20180307203206.1ba1ecf8@archlinux> In-Reply-To: <1520236170-14668-3-git-send-email-himanshujha199640@gmail.com> References: <1520236170-14668-1-git-send-email-himanshujha199640@gmail.com> <1520236170-14668-3-git-send-email-himanshujha199640@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 Mon, 5 Mar 2018 13:19:21 +0530 Himanshu Jha wrote: > Adding a blank space before/after some returns improves readability. > > Signed-off-by: Himanshu Jha Applied - patch title adjusted. Thanks, Jonathan > --- > drivers/staging/iio/accel/adis16201.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/staging/iio/accel/adis16201.c b/drivers/staging/iio/accel/adis16201.c > index 0f6a204..0fae8aa 100644 > --- a/drivers/staging/iio/accel/adis16201.c > +++ b/drivers/staging/iio/accel/adis16201.c > @@ -232,6 +232,7 @@ static int adis16201_read_raw(struct iio_dev *indio_dev, > *val = val16; > return IIO_VAL_INT; > } > + > return -EINVAL; > } > > @@ -262,6 +263,7 @@ static int adis16201_write_raw(struct iio_dev *indio_dev, > addr = adis16201_addresses[chan->scan_index]; > return adis_write_reg_16(st, addr, val16); > } > + > return -EINVAL; > } > > @@ -336,6 +338,7 @@ static int adis16201_probe(struct spi_device *spi) > ret = adis_init(st, indio_dev, spi, &adis16201_data); > if (ret) > return ret; > + > ret = adis_setup_buffer_and_trigger(st, indio_dev, NULL); > if (ret) > return ret; > @@ -348,6 +351,7 @@ static int adis16201_probe(struct spi_device *spi) > ret = iio_device_register(indio_dev); > if (ret < 0) > goto error_cleanup_buffer_trigger; > + > return 0; > > error_cleanup_buffer_trigger: