]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: leds: Replace moonlight with indicator in mt6360 example
authorChiYuan Huang <cy_huang@richtek.com>
Wed, 17 Nov 2021 07:22:06 +0000 (15:22 +0800)
committerPavel Machek <pavel@ucw.cz>
Wed, 12 Jan 2022 18:43:14 +0000 (19:43 +0100)
Replace moonlight with indicator in mt6360 example to prevent the below
build error:

Error: Documentation/devicetree/bindings/leds/leds-mt6360.example.dts:114.24-25
syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [scripts/Makefile.lib:385:
Documentation/devicetree/bindings/leds/leds-mt6360.example.dt.yaml]
Error 1

Link: https://lore.kernel.org/lkml/CAL_JsqJRMVE163LaHTbtFARc4f_qg33bfQx+sD3ukce_xQF+gA@mail.gmail.com/
Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Reviewed-by: Gene Chen <gene_chen@richtek.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Documentation/devicetree/bindings/leds/leds-mt6360.yaml

index 235315531d3bfc6be5ef5835b4f00835430cd8ee..b2fe6eb89389a3a3397878f1f00d2b2f60050149 100644 (file)
@@ -133,7 +133,7 @@ examples:
      };
      led@3 {
        reg = <3>;
-       function = LED_FUNCTION_MOONLIGHT;
+       function = LED_FUNCTION_INDICATOR;
        color = <LED_COLOR_ID_WHITE>;
        led-max-microamp = <150000>;
      };