2023-01-29 13:20:50

by Jonathan Neuschäfer

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Jonathan Neuschäfer <[email protected]>
---
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



2023-02-05 14:42:48

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH] iio: chemical: sps030: Reformat comment in a more readable way

On Sun, 29 Jan 2023 14:20:20 +0100
Jonathan Neuschäfer <[email protected]> wrote:

> It's easier to see the (lack of) difference between the lines when they
> are visually aligned.
>
> Signed-off-by: Jonathan Neuschäfer <[email protected]>
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
>