]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: iio: accel: sca3000_core.c: Adjust code to fit 80-chars limit
authorMurilo Opsfelder Araujo <mopsfelder@gmail.com>
Tue, 8 Jul 2014 00:22:00 +0000 (01:22 +0100)
committerJonathan Cameron <jic23@kernel.org>
Thu, 7 Aug 2014 09:10:57 +0000 (10:10 +0100)
Signed-off-by: Murilo Opsfelder Araujo <mopsfelder@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/accel/sca3000_core.c

index ed30e32e60deca1ec6bfd3bbfa7a10d169a70320..1ce037af7f2ae9f9d797780d0781708c4bf0bbfa 100644 (file)
@@ -506,7 +506,8 @@ static int sca3000_read_raw(struct iio_dev *indio_dev,
                                mutex_unlock(&st->lock);
                                return ret;
                        }
-                       *val = ((st->rx[0] & 0x3F) << 3) | ((st->rx[1] & 0xE0) >> 5);
+                       *val = ((st->rx[0] & 0x3F) << 3) |
+                              ((st->rx[1] & 0xE0) >> 5);
                }
                mutex_unlock(&st->lock);
                return IIO_VAL_INT;