diff mbox series

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

Message ID 20230129132020.1352368-1-j.neuschaefer@gmx.net (mailing list archive)
State Accepted
Headers show
Series iio: chemical: sps030: Reformat comment in a more readable way | expand

Commit Message

Jonathan Neuschäfer Jan. 29, 2023, 1:20 p.m. UTC
It's easier to see the (lack of) difference between the lines when they
are visually aligned.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
 drivers/iio/chemical/sps30_i2c.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--
2.39.0

Comments

Jonathan Cameron Feb. 5, 2023, 2:56 p.m. UTC | #1
On Sun, 29 Jan 2023 14:20:20 +0100
Jonathan Neuschäfer <j.neuschaefer@gmx.net> wrote:

> It's easier to see the (lack of) difference between the lines when they
> are visually aligned.
> 
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Applied.

Thanks,

Jonathan

> ---
>  drivers/iio/chemical/sps30_i2c.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/iio/chemical/sps30_i2c.c b/drivers/iio/chemical/sps30_i2c.c
> index 2aed483a2fdec..0cb5d9b65d625 100644
> --- a/drivers/iio/chemical/sps30_i2c.c
> +++ b/drivers/iio/chemical/sps30_i2c.c
> @@ -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
>
diff mbox series

Patch

diff --git a/drivers/iio/chemical/sps30_i2c.c b/drivers/iio/chemical/sps30_i2c.c
index 2aed483a2fdec..0cb5d9b65d625 100644
--- a/drivers/iio/chemical/sps30_i2c.c
+++ b/drivers/iio/chemical/sps30_i2c.c
@@ -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.