Skip to contentSkip to conversation

iio: chemical: sps030: Reformat comment in a more readable way

PATCH Applied Jonathan Neuschäfer 2 participants 2 messages Jan 29, 2023 – Feb 5, 2023

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

PATCH 1/1 iio: chemical: sps030: Reformat comment in a more readable way

It's easier to see the (lack of) difference between the lines when they are visually aligned.

---
 drivers/iio/chemical/sps30_i2c.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/iio/chemical/sps30_i2c.c +3 -3
index 2aed483a2fdec..0cb5d9b65d625 100644
@@ -68,10 +68,10 @@ static int sps30_i2c_command(struct sps30_state *state, u16 cmd, void *arg, size
 	/*
 	 * Internally sensor stores measurements in a following manner:
 	 *
-	 * PM1: upper two bytes, crc8, lower two bytes, crc8
+	 * PM1:   upper two bytes, crc8, lower two bytes, crc8
 	 * PM2P5: upper two bytes, crc8, lower two bytes, crc8
-	 * PM4: upper two bytes, crc8, lower two bytes, crc8
-	 * PM10: upper two bytes, crc8, lower two bytes, crc8
+	 * PM4:   upper two bytes, crc8, lower two bytes, crc8
+	 * PM10:  upper two bytes, crc8, lower two bytes, crc8
 	 *
 	 * What follows next are number concentration measurements and
 	 * typical particle size measurement which we omit.

--
2.39.0

maintainer Applied
#1 lore raw
Quoted 4 lines · On Sun, 29 Jan 2023 14:20:20 +0100 Jonathan Neuschäfer <[email protected]>…

It's easier to see the (lack of) difference between the lines when they are visually aligned.

Applied.

Thanks,

Jonathan

Quoted 25 lines
---
 drivers/iio/chemical/sps30_i2c.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/iio/chemical/sps30_i2c.c +3 -4
index 2aed483a2fdec..0cb5d9b65d625 100644
@@ -68,10 +68,10 @@ static int sps30_i2c_command(struct sps30_state *state, u16 cmd, void *arg, size
 	/*
 	 * Internally sensor stores measurements in a following manner:
 	 *
-	 * PM1: upper two bytes, crc8, lower two bytes, crc8
+	 * PM1:   upper two bytes, crc8, lower two bytes, crc8
 	 * PM2P5: upper two bytes, crc8, lower two bytes, crc8
-	 * PM4: upper two bytes, crc8, lower two bytes, crc8
-	 * PM10: upper two bytes, crc8, lower two bytes, crc8
+	 * PM4:   upper two bytes, crc8, lower two bytes, crc8
+	 * PM10:  upper two bytes, crc8, lower two bytes, crc8
 	 *
 	 * What follows next are number concentration measurements and
 	 * typical particle size measurement which we omit.
--

2.39.0