summaryrefslogtreecommitdiff
path: root/drivers/staging/iio
diff options
context:
space:
mode:
authorTolga Ceylan <tolga.ceylan@gmail.com>2015-02-14 20:32:44 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-01 19:41:07 -0800
commit7cb8957b894a6c4eae44d9ccbfd3a0034e298aba (patch)
tree982053f944dfff91cbca3bc33ed4782c7a218789 /drivers/staging/iio
parent08c95f9abf4c7d0f1886ac941fd8195004846386 (diff)
Staging: iio: meter: ade7854-i2c: code style improvements
Code reformatting based on checkpatch.pl with --strict: Lines over 80 characters were fixed Signed-off-by: Tolga Ceylan <tolga.ceylan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r--drivers/staging/iio/meter/ade7854-i2c.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/iio/meter/ade7854-i2c.c b/drivers/staging/iio/meter/ade7854-i2c.c
index 85a7e84e0e41..5e6fbe4c976a 100644
--- a/drivers/staging/iio/meter/ade7854-i2c.c
+++ b/drivers/staging/iio/meter/ade7854-i2c.c
@@ -195,7 +195,8 @@ static int ade7854_i2c_read_reg_32(struct device *dev,
if (ret)
goto out;
- *val = (st->rx[0] << 24) | (st->rx[1] << 16) | (st->rx[2] << 8) | st->rx[3];
+ *val = (st->rx[0] << 24) | (st->rx[1] << 16) |
+ (st->rx[2] << 8) | st->rx[3];
out:
mutex_unlock(&st->buf_lock);
return ret;