Skip to contentSkip to conversation

Staging: iio: Coding style correction

PATCH Applied Tolga Ceylan 2 participants 2 messages Feb 8, 2015

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: iio: Coding style correction

Line over 80 characters corrected

---
 drivers/staging/iio/meter/ade7854-i2c.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/iio/meter/ade7854-i2c.c +2 -1
index 5b33c7f..5d0671a 100644
@@ -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;
Signature · 1 line
2.3.0
maintainer Applied
#1 lore raw
Quoted 3 lines · Tolga Ceylan

Line over 80 characters corrected

Applied, again with an amended patch title to reflect the driver it is changing rather that simply the subsystem.

Quoted 19 lines
---
 drivers/staging/iio/meter/ade7854-i2c.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/iio/meter/ade7854-i2c.c +2 -1
index 5b33c7f..5d0671a 100644
@@ -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;