Staging: iio: meter: ade7854-i2c: code style improvements
authorTolga Ceylan <tolga.ceylan@gmail.com>
Sun, 15 Feb 2015 04:32:44 +0000 (20:32 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 03:41:07 +0000 (19:41 -0800)
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>
drivers/staging/iio/meter/ade7854-i2c.c

index 85a7e84e0e413b116f995f06f773b59d3920c998..5e6fbe4c976a97f0154c4a8da1d36338c5664a78 100644 (file)
@@ -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;