Documentation: leds: Fix warning from leds-qcom-lpg

Message ID 1675700261-25531-1-git-send-email-quic_jhugo@quicinc.com
State New
Headers
Series Documentation: leds: Fix warning from leds-qcom-lpg |

Commit Message

Jeffrey Hugo Feb. 6, 2023, 4:17 p.m. UTC
  "make htmldocs" generates a warning about leds-qcom-lpg -
"Documentation/leds/leds-qcom-lpg.rst: WARNING: document isn't included
in any toctree"

Add leds-qcom-lpg to the leds index to fix this warning.

Fixes: 24e2d05d1b68 ("leds: Add driver for Qualcomm LPG")
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
---
 Documentation/leds/index.rst | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Jonathan Corbet Feb. 6, 2023, 5:33 p.m. UTC | #1
Jeffrey Hugo <quic_jhugo@quicinc.com> writes:

> "make htmldocs" generates a warning about leds-qcom-lpg -
> "Documentation/leds/leds-qcom-lpg.rst: WARNING: document isn't included
> in any toctree"
>
> Add leds-qcom-lpg to the leds index to fix this warning.
>
> Fixes: 24e2d05d1b68 ("leds: Add driver for Qualcomm LPG")
> Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
> ---
>  Documentation/leds/index.rst | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/leds/index.rst b/Documentation/leds/index.rst
> index e5d63b9..014e009 100644
> --- a/Documentation/leds/index.rst
> +++ b/Documentation/leds/index.rst
> @@ -25,4 +25,5 @@ LEDs
>     leds-lp5562
>     leds-lp55xx
>     leds-mlxcpld
> +   leds-qcom-lpg
>     leds-sc27xx

Already fixed in docs-next.

Thanks,

jon
  
Jeffrey Hugo Feb. 6, 2023, 5:47 p.m. UTC | #2
On 2/6/2023 10:33 AM, Jonathan Corbet wrote:
> Jeffrey Hugo <quic_jhugo@quicinc.com> writes:
> 
>> "make htmldocs" generates a warning about leds-qcom-lpg -
>> "Documentation/leds/leds-qcom-lpg.rst: WARNING: document isn't included
>> in any toctree"
>>
>> Add leds-qcom-lpg to the leds index to fix this warning.
>>
>> Fixes: 24e2d05d1b68 ("leds: Add driver for Qualcomm LPG")
>> Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
>> ---
>>   Documentation/leds/index.rst | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/leds/index.rst b/Documentation/leds/index.rst
>> index e5d63b9..014e009 100644
>> --- a/Documentation/leds/index.rst
>> +++ b/Documentation/leds/index.rst
>> @@ -25,4 +25,5 @@ LEDs
>>      leds-lp5562
>>      leds-lp55xx
>>      leds-mlxcpld
>> +   leds-qcom-lpg
>>      leds-sc27xx
> 
> Already fixed in docs-next.
> 
> Thanks,
> 
> jon

Ah.  Missed that.  Thanks.
  

Patch

diff --git a/Documentation/leds/index.rst b/Documentation/leds/index.rst
index e5d63b9..014e009 100644
--- a/Documentation/leds/index.rst
+++ b/Documentation/leds/index.rst
@@ -25,4 +25,5 @@  LEDs
    leds-lp5562
    leds-lp55xx
    leds-mlxcpld
+   leds-qcom-lpg
    leds-sc27xx