From: Jonathan Cameron <jic23@kernel.org>
To: "René Hickersberger" <renehickersberger@gmx.net>
Cc: knaack.h@gmx.de, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org
Subject: Re: [PATCH] Staging: iio: accel: adis16203: fixed a brace coding style issue
Date: Fri, 14 Apr 2017 16:13:49 +0100 [thread overview]
Message-ID: <cf5e1783-f040-6615-8d43-e630ea374e88@kernel.org> (raw)
In-Reply-To: <20170413135137.4494-1-renehickersberger@gmx.net>
On 13/04/17 14:51, René Hickersberger wrote:
> From: René Hickersberger?= <renehickersberger@gmx.net>
>
> Fixed a brace coding style issue.
>
> Signed-off-by: René Hickersberger <renehickersberger@gmx.net>
Applied.
Thanks,
Jonathan
> ---
> drivers/staging/iio/accel/adis16203.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/staging/iio/accel/adis16203.c b/drivers/staging/iio/accel/adis16203.c
> index faa2869..4e3fa75 100644
> --- a/drivers/staging/iio/accel/adis16203.c
> +++ b/drivers/staging/iio/accel/adis16203.c
> @@ -205,9 +205,8 @@ static int adis16203_read_raw(struct iio_dev *indio_dev,
> bits = 14;
> addr = adis16203_addresses[chan->scan_index];
> ret = adis_read_reg_16(st, addr, &val16);
> - if (ret) {
> + if (ret)
> return ret;
> - }
> val16 &= (1 << bits) - 1;
> val16 = (s16)(val16 << (16 - bits)) >> (16 - bits);
> *val = val16;
>
prev parent reply other threads:[~2017-04-14 15:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-13 13:51 René Hickersberger
2017-04-14 15:13 ` Jonathan Cameron [this message]
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=cf5e1783-f040-6615-8d43-e630ea374e88@kernel.org \
--to=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=renehickersberger@gmx.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome