[PATCH] docs: iio: Fix unexpected indentation for adxl345.

Xing Guo posted 1 patch 1 month, 2 weeks ago
Documentation/iio/adxl345.rst | 1 +
1 file changed, 1 insertion(+)
[PATCH] docs: iio: Fix unexpected indentation for adxl345.
Posted by Xing Guo 1 month, 2 weeks ago
Resolved the following building error:

 Documentation/iio/adxl345.rst:161: ERROR: Unexpected indentation. [docutils]

Fixes: fdcb9cb9178a ("docs: iio: add documentation for adxl345 driver")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/linux-next/20250818124124.5b978e64@canb.auug.org.au
Signed-off-by: Xing Guo <higuoxing@gmail.com>
---
 Documentation/iio/adxl345.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/iio/adxl345.rst b/Documentation/iio/adxl345.rst
index 4bd038cb4a37..afdb35f8b72e 100644
--- a/Documentation/iio/adxl345.rst
+++ b/Documentation/iio/adxl345.rst
@@ -157,6 +157,7 @@ sensor terms, free-fall is defined using an inactivity period ranging from 0.000
 to 1.000 seconds.
 
 The driver behaves as follows:
+
 * If the configured inactivity period is 1 second or more, the driver uses the
   sensor's inactivity register. This allows the event to be linked with
   activity detection, use auto-sleep, and be either AC- or DC-coupled.
-- 
2.50.1
Re: [PATCH] docs: iio: Fix unexpected indentation for adxl345.
Posted by Jonathan Cameron 1 month, 1 week ago
On Tue, 19 Aug 2025 14:56:34 +0800
Xing Guo <higuoxing@gmail.com> wrote:

> Resolved the following building error:
> 
>  Documentation/iio/adxl345.rst:161: ERROR: Unexpected indentation. [docutils]
> 
> Fixes: fdcb9cb9178a ("docs: iio: add documentation for adxl345 driver")
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Closes: https://lore.kernel.org/linux-next/20250818124124.5b978e64@canb.auug.org.au
> Signed-off-by: Xing Guo <higuoxing@gmail.com>

+CC linux-iio.

> ---
>  Documentation/iio/adxl345.rst | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/iio/adxl345.rst b/Documentation/iio/adxl345.rst
> index 4bd038cb4a37..afdb35f8b72e 100644
> --- a/Documentation/iio/adxl345.rst
> +++ b/Documentation/iio/adxl345.rst
> @@ -157,6 +157,7 @@ sensor terms, free-fall is defined using an inactivity period ranging from 0.000
>  to 1.000 seconds.
>  
>  The driver behaves as follows:
> +
>  * If the configured inactivity period is 1 second or more, the driver uses the
>    sensor's inactivity register. This allows the event to be linked with
>    activity detection, use auto-sleep, and be either AC- or DC-coupled.
Re: [PATCH] docs: iio: Fix unexpected indentation for adxl345.
Posted by Jonathan Cameron 1 month, 1 week ago
On Fri, 22 Aug 2025 10:37:18 +0100
Jonathan Cameron <Jonathan.Cameron@huawei.com> wrote:

> On Tue, 19 Aug 2025 14:56:34 +0800
> Xing Guo <higuoxing@gmail.com> wrote:
> 
> > Resolved the following building error:
> > 
> >  Documentation/iio/adxl345.rst:161: ERROR: Unexpected indentation. [docutils]
> > 
> > Fixes: fdcb9cb9178a ("docs: iio: add documentation for adxl345 driver")
> > Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> > Closes: https://lore.kernel.org/linux-next/20250818124124.5b978e64@canb.auug.org.au
> > Signed-off-by: Xing Guo <higuoxing@gmail.com>  
> 
> +CC linux-iio.
Applied.  Thanks,

> 
> > ---
> >  Documentation/iio/adxl345.rst | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/Documentation/iio/adxl345.rst b/Documentation/iio/adxl345.rst
> > index 4bd038cb4a37..afdb35f8b72e 100644
> > --- a/Documentation/iio/adxl345.rst
> > +++ b/Documentation/iio/adxl345.rst
> > @@ -157,6 +157,7 @@ sensor terms, free-fall is defined using an inactivity period ranging from 0.000
> >  to 1.000 seconds.
> >  
> >  The driver behaves as follows:
> > +
> >  * If the configured inactivity period is 1 second or more, the driver uses the
> >    sensor's inactivity register. This allows the event to be linked with
> >    activity detection, use auto-sleep, and be either AC- or DC-coupled.  
> 
>