All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Shreeya Patel <shreeya.patel23498@gmail.com>
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
Date: Fri, 30 Mar 2018 12:33:43 +0100	[thread overview]
Message-ID: <20180330123343.7748a973@archlinux> (raw)
In-Reply-To: <517fdc2cff0ef238e74c2114fba1a73d2a40a999.1522306893.git.shreeya.patel23498@gmail.com>

On Thu, 29 Mar 2018 14:44:42 +0530
Shreeya Patel <shreeya.patel23498@gmail.com> wrote:

> Add a blank line after return statements to improve the code
> readability.
> 
> Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
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;


WARNING: multiple messages have this Message-ID (diff)
From: Jonathan Cameron <jic23@kernel.org>
To: Shreeya Patel <shreeya.patel23498@gmail.com>
Cc: devel@driverdev.osuosl.org, daniel.baluta@gmail.com,
	lars@metafoo.de, Michael.Hennerich@analog.com,
	linux-iio@vger.kernel.org, gregkh@linuxfoundation.org,
	linux-kernel@vger.kernel.org, pmeerw@pmeerw.net, knaack.h@gmx.de
Subject: Re: [PATCH v6 3/6] Staging: iio: adis16209: Add a blank line after return statements
Date: Fri, 30 Mar 2018 12:33:43 +0100	[thread overview]
Message-ID: <20180330123343.7748a973@archlinux> (raw)
In-Reply-To: <517fdc2cff0ef238e74c2114fba1a73d2a40a999.1522306893.git.shreeya.patel23498@gmail.com>

On Thu, 29 Mar 2018 14:44:42 +0530
Shreeya Patel <shreeya.patel23498@gmail.com> wrote:

> Add a blank line after return statements to improve the code
> readability.
> 
> Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
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;

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

  reply	other threads:[~2018-03-30 11:33 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-29  9:10 [PATCH v6 0/6] adis16209 driver cleanup Shreeya Patel
2018-03-29  9:10 ` Shreeya Patel
2018-03-29  9:12 ` [PATCH v6 1/6] Staging: iio: adis16209: Indent the field definitions Shreeya Patel
2018-03-29  9:12   ` Shreeya Patel
2018-03-30 10:39   ` Jonathan Cameron
2018-03-29  9:13 ` [PATCH v6 2/6] Staging: iio: adis16209: Prefer reverse christmas tree ordering Shreeya Patel
2018-03-29  9:13   ` Shreeya Patel
2018-03-30 11:32   ` Jonathan Cameron
2018-03-30 11:32     ` Jonathan Cameron
2018-03-29  9:14 ` [PATCH v6 3/6] Staging: iio: adis16209: Add a blank line after return statements Shreeya Patel
2018-03-29  9:14   ` Shreeya Patel
2018-03-30 11:33   ` Jonathan Cameron [this message]
2018-03-30 11:33     ` Jonathan Cameron
2018-03-29  9:19 ` [PATCH v6 4/6] Staging: iio: adis16209: Remove unused headers Shreeya Patel
2018-03-29  9:19   ` Shreeya Patel
2018-03-30 11:36   ` Jonathan Cameron
2018-03-29  9:21 ` [PATCH v6 5/6] Staging: iio: adis16209: Use GENMASK Shreeya Patel
2018-03-29  9:21   ` Shreeya Patel
2018-03-30 11:40   ` Jonathan Cameron
2018-03-29  9:22 ` [PATCH v6 6/6] Staging: iio: adis16209: Move adis16209 driver out of staging Shreeya Patel
2018-03-29  9:22   ` Shreeya Patel
2018-03-30 11:48   ` Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180330123343.7748a973@archlinux \
    --to=jic23@kernel.org \
    --cc=Michael.Hennerich@analog.com \
    --cc=daniel.baluta@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    --cc=shreeya.patel23498@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.