public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] iio: adxl313: fix typos in documentation
@ 2026-05-05  9:22 Wang Zihan
  2026-05-06 16:07 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Wang Zihan @ 2026-05-05  9:22 UTC (permalink / raw)
  To: jic23, corbet
  Cc: dlechner, nuno.sa, andy, skhan, linux-iio, linux-doc,
	linux-kernel, Wang Zihan

Add missing space in "ADXL313is" and improve grammar for
"a single types of channels" to "multiple channels of a single type"
as suggested by Jonathan Cameron.

Wrap long line as suggested by Andy Shevchenko.

Signed-off-by: Wang Zihan <jiyu03@qq.com>

---
Changes in v4:
- Wrapped long line per Andy Shevchenko's suggestion

Changes in v3:
- Reworded "a single type of channels" to "multiple channels of a single type"
  per Jonathan Cameron's suggestion
- Split into two sentences for better readability
- Added this changelog as requested

Changes in v2:
- Fixed subject line format (was incorrectly [PATCH 1/4])
---
 Documentation/iio/adxl313.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/iio/adxl313.rst b/Documentation/iio/adxl313.rst
index 966e72c0109a..cc0829be0447 100644
--- a/Documentation/iio/adxl313.rst
+++ b/Documentation/iio/adxl313.rst
@@ -11,7 +11,7 @@ This driver supports Analog Device's ADXL313 on SPI/I2C bus.
 
 * `ADXL313 <https://www.analog.com/ADXL313>`_
 
-The ADXL313is a low noise density, low power, 3-axis accelerometer with
+The ADXL313 is a low noise density, low power, 3-axis accelerometer with
 selectable measurement ranges. The ADXL313 supports the ±0.5 g, ±1 g, ±2 g and
 ±4 g ranges.
 
@@ -112,9 +112,9 @@ apply the following formula:
 Where _offset and _scale are device attributes. If no _offset attribute is
 present, simply assume its value is 0.
 
-The ADXL313 driver offers data for a single types of channels, the table below
-shows the measurement units for the processed value, which are defined by the
-IIO framework:
+The ADXL313 driver offers data for multiple channels of a single type.
+The table below shows the measurement units for the processed value,
+which are defined by the IIO framework:
 
 +-------------------------------------+---------------------------+
 | Channel type                        | Measurement unit          |
-- 
2.54.0


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

* Re: [PATCH v4] iio: adxl313: fix typos in documentation
  2026-05-05  9:22 [PATCH v4] iio: adxl313: fix typos in documentation Wang Zihan
@ 2026-05-06 16:07 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2026-05-06 16:07 UTC (permalink / raw)
  To: Wang Zihan
  Cc: corbet, dlechner, nuno.sa, andy, skhan, linux-iio, linux-doc,
	linux-kernel

On Tue,  5 May 2026 17:22:43 +0800
Wang Zihan <jiyu03@qq.com> wrote:

> Add missing space in "ADXL313is" and improve grammar for
> "a single types of channels" to "multiple channels of a single type"
> as suggested by Jonathan Cameron.
> 
> Wrap long line as suggested by Andy Shevchenko.
> 
> Signed-off-by: Wang Zihan <jiyu03@qq.com>

Applied to the testing branch of iio.git.

Thanks,

Jonathan

> 
> ---
> Changes in v4:
> - Wrapped long line per Andy Shevchenko's suggestion
> 
> Changes in v3:
> - Reworded "a single type of channels" to "multiple channels of a single type"
>   per Jonathan Cameron's suggestion
> - Split into two sentences for better readability
> - Added this changelog as requested
> 
> Changes in v2:
> - Fixed subject line format (was incorrectly [PATCH 1/4])
> ---
>  Documentation/iio/adxl313.rst | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/iio/adxl313.rst b/Documentation/iio/adxl313.rst
> index 966e72c0109a..cc0829be0447 100644
> --- a/Documentation/iio/adxl313.rst
> +++ b/Documentation/iio/adxl313.rst
> @@ -11,7 +11,7 @@ This driver supports Analog Device's ADXL313 on SPI/I2C bus.
>  
>  * `ADXL313 <https://www.analog.com/ADXL313>`_
>  
> -The ADXL313is a low noise density, low power, 3-axis accelerometer with
> +The ADXL313 is a low noise density, low power, 3-axis accelerometer with
>  selectable measurement ranges. The ADXL313 supports the ±0.5 g, ±1 g, ±2 g and
>  ±4 g ranges.
>  
> @@ -112,9 +112,9 @@ apply the following formula:
>  Where _offset and _scale are device attributes. If no _offset attribute is
>  present, simply assume its value is 0.
>  
> -The ADXL313 driver offers data for a single types of channels, the table below
> -shows the measurement units for the processed value, which are defined by the
> -IIO framework:
> +The ADXL313 driver offers data for multiple channels of a single type.
> +The table below shows the measurement units for the processed value,
> +which are defined by the IIO framework:
>  
>  +-------------------------------------+---------------------------+
>  | Channel type                        | Measurement unit          |


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

end of thread, other threads:[~2026-05-06 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-05  9:22 [PATCH v4] iio: adxl313: fix typos in documentation Wang Zihan
2026-05-06 16:07 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox