Staging: iio: accel: adis16203: fixed a brace coding style issue
authorRené Hickersberger?= <renehickersberger@gmx.net>
Thu, 13 Apr 2017 13:51:37 +0000 (15:51 +0200)
committerJonathan Cameron <jic23@kernel.org>
Fri, 14 Apr 2017 15:13:34 +0000 (16:13 +0100)
Fixed a brace coding style issue.

Signed-off-by: René Hickersberger <renehickersberger@gmx.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/accel/adis16203.c

index faa2869b54319c27cabcd1e658630e9613ed550a..4e3fa7592d3f2a41d194b0b3d481f7fe66bcc4ea 100644 (file)
@@ -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;