All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: chemical: sps030: Reformat comment in a more readable way
@ 2023-01-29 13:20 Jonathan Neuschäfer
  2023-02-05 14:56 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Neuschäfer @ 2023-01-29 13:20 UTC (permalink / raw)
  To: linux-iio
  Cc: Jonathan Neuschäfer, Tomasz Duszynski, Jonathan Cameron,
	Lars-Peter Clausen, linux-kernel

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iio: chemical: sps030: Reformat comment in a more readable way
  2023-01-29 13:20 [PATCH] iio: chemical: sps030: Reformat comment in a more readable way Jonathan Neuschäfer
@ 2023-02-05 14:56 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2023-02-05 14:56 UTC (permalink / raw)
  To: Jonathan Neuschäfer
  Cc: linux-iio, Tomasz Duszynski, Lars-Peter Clausen, linux-kernel

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
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-05 14:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-29 13:20 [PATCH] iio: chemical: sps030: Reformat comment in a more readable way Jonathan Neuschäfer
2023-02-05 14:56 ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.