diff mbox series

Documentation/admin-guide/acpi: fix fan_performance_states.rst warnings

Message ID 98d72d3b-c9eb-36bc-1d68-2c3020bdf9c5@infradead.org (mailing list archive)
State Mainlined, archived
Headers show
Series Documentation/admin-guide/acpi: fix fan_performance_states.rst warnings | expand

Commit Message

Randy Dunlap Feb. 17, 2020, 4:42 a.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

Fix Sphinx format warnings in fan_performace_states.rst
by adding indentation.

Documentation/admin-guide/acpi/fan_performance_states.rst:21: WARNING: Literal block ends without a blank line; unexpected unindent.
Documentation/admin-guide/acpi/fan_performance_states.rst:41: WARNING: Literal block expected; none found.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
 Documentation/admin-guide/acpi/fan_performance_states.rst |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Rafael J. Wysocki Feb. 20, 2020, 9:53 a.m. UTC | #1
On Mon, Feb 17, 2020 at 5:42 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Fix Sphinx format warnings in fan_performace_states.rst
> by adding indentation.
>
> Documentation/admin-guide/acpi/fan_performance_states.rst:21: WARNING: Literal block ends without a blank line; unexpected unindent.
> Documentation/admin-guide/acpi/fan_performance_states.rst:41: WARNING: Literal block expected; none found.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> ---
>  Documentation/admin-guide/acpi/fan_performance_states.rst |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- lnx-56-rc2.orig/Documentation/admin-guide/acpi/fan_performance_states.rst
> +++ lnx-56-rc2/Documentation/admin-guide/acpi/fan_performance_states.rst
> @@ -18,7 +18,7 @@ may look as follows::
>
>   $ ls -l /sys/bus/acpi/devices/INT3404:00/
>   total 0
> -...
> + ...
>   -r--r--r-- 1 root root 4096 Dec 13 20:38 state0
>   -r--r--r-- 1 root root 4096 Dec 13 20:38 state1
>   -r--r--r-- 1 root root 4096 Dec 13 20:38 state10
> @@ -38,7 +38,7 @@ where each of the "state*" files represe
>  and contains a colon-separated list of 5 integer numbers (fields) with the
>  following interpretation::
>
> -control_percent:trip_point_index:speed_rpm:noise_level_mdb:power_mw
> +  control_percent:trip_point_index:speed_rpm:noise_level_mdb:power_mw
>
>  * ``control_percent``: The percent value to be used to set the fan speed to a
>    specific level using the _FSL object (0-100).

Applied as a fix for 5.6, thanks!
diff mbox series

Patch

--- lnx-56-rc2.orig/Documentation/admin-guide/acpi/fan_performance_states.rst
+++ lnx-56-rc2/Documentation/admin-guide/acpi/fan_performance_states.rst
@@ -18,7 +18,7 @@  may look as follows::
 
  $ ls -l /sys/bus/acpi/devices/INT3404:00/
  total 0
-...
+ ...
  -r--r--r-- 1 root root 4096 Dec 13 20:38 state0
  -r--r--r-- 1 root root 4096 Dec 13 20:38 state1
  -r--r--r-- 1 root root 4096 Dec 13 20:38 state10
@@ -38,7 +38,7 @@  where each of the "state*" files represe
 and contains a colon-separated list of 5 integer numbers (fields) with the
 following interpretation::
 
-control_percent:trip_point_index:speed_rpm:noise_level_mdb:power_mw
+  control_percent:trip_point_index:speed_rpm:noise_level_mdb:power_mw
 
 * ``control_percent``: The percent value to be used to set the fan speed to a
   specific level using the _FSL object (0-100).