Skip to content

Commit cc087c0

Browse files
bagasmelag-linaro
authored andcommitted
Documentation: leds: mt6370: Properly wrap hw_pattern chart
The pattern diagram (chart) of /sys/class/leds/<led>/hw_pattern is wrapped in literal code block. However, the block indentation is interrupted by Icurr axis label, hence below warnings: Documentation/leds/leds-mt6370-rgb.rst:39: WARNING: Literal block ends without a blank line; unexpected unindent. Documentation/leds/leds-mt6370-rgb.rst:41: WARNING: Line block ends without a blank line. Documentation/leds/leds-mt6370-rgb.rst:46: WARNING: Unexpected indentation. Documentation/leds/leds-mt6370-rgb.rst:44: WARNING: Inline substitution_reference start-string without end-string. Fix the chart indentation by adding 4 more spaces so that the axis label is in the code block. Link: https://lore.kernel.org/oe-kbuild-all/202303182310.tB1mUzU7-lkp@intel.com/ Fixes: 4ba9df0 ("docs: leds: Add MT6370 RGB LED pattern document") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20230319074903.13075-3-bagasdotme@gmail.com
1 parent 1d105d6 commit cc087c0

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

Documentation/leds/leds-mt6370-rgb.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ depending on the current brightness setting.
3131

3232
Pattern diagram::
3333

34-
"0 Tr1 0 Tr2 0 Tf1 0 Tf2 0 Ton 0 Toff" --> '0' for dummy brightness code
35-
36-
^
37-
| ============
38-
| / \ /
39-
Icurr | / \ /
40-
| / \ /
41-
| / \ / .....repeat
42-
| / \ /
43-
| --- --- ---
44-
|--- --- ---
45-
+----------------------------------============------------> Time
46-
< Tr1><Tr2>< Ton ><Tf1><Tf2 >< Toff >< Tr1><Tr2>
34+
"0 Tr1 0 Tr2 0 Tf1 0 Tf2 0 Ton 0 Toff" --> '0' for dummy brightness code
35+
36+
^
37+
| ============
38+
| / \ /
39+
Icurr | / \ /
40+
| / \ /
41+
| / \ / .....repeat
42+
| / \ /
43+
| --- --- ---
44+
|--- --- ---
45+
+----------------------------------============------------> Time
46+
< Tr1><Tr2>< Ton ><Tf1><Tf2 >< Toff >< Tr1><Tr2>
4747

4848
Timing description::
4949

0 commit comments

Comments
 (0)