[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <535B84BE.8020005@kernel.org>
Date: Sat, 26 Apr 2014 11:04:46 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Jimmy Li <coder.liss@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Sachin Kamat <sachin.kamat@...aro.org>
CC: linux-iio@...r.kernel.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH]staging:iio:ad2s1200 fix missing parenthesis in a for
statment.
On 25/04/14 03:52, Jimmy Li wrote:
> Signed-off-by: Jimmy Li <coder.liss@...il.com>
Applied to the fixes-togreg branch of iio.git
Thanks,
> ---
> drivers/staging/iio/resolver/ad2s1200.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/staging/iio/resolver/ad2s1200.c b/drivers/staging/iio/resolver/ad2s1200.c
> index e2b4820..017d2f8 100644
> --- a/drivers/staging/iio/resolver/ad2s1200.c
> +++ b/drivers/staging/iio/resolver/ad2s1200.c
> @@ -107,7 +107,7 @@ static int ad2s1200_probe(struct spi_device *spi)
> int pn, ret = 0;
> unsigned short *pins = spi->dev.platform_data;
>
> - for (pn = 0; pn < AD2S1200_PN; pn++)
> + for (pn = 0; pn < AD2S1200_PN; pn++) {
> ret = devm_gpio_request_one(&spi->dev, pins[pn], GPIOF_DIR_OUT,
> DRV_NAME);
> if (ret) {
> @@ -115,6 +115,7 @@ static int ad2s1200_probe(struct spi_device *spi)
> pins[pn]);
> return ret;
> }
> + }
> indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st));
> if (!indio_dev)
> return -ENOMEM;
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists