Skip to contentSkip to conversation

dt-bindings: leds: Replace moonlight with indicator in mt6360 example

PATCH Applied cy_huang 4 participants 4 messages Nov 17, 2021 – Nov 18, 2021

Subsystems (3)
lore
Share & tools
lore

cy_huang

author
#0 lore raw

PATCH 1/1 dt-bindings: leds: Replace moonlight with indicator in mt6360 example

From: ChiYuan Huang <[email protected]>

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

---
Hi, Gene:

I saw you have removed LED_FUNCTION_MOONLIGHT in v14. But you may forget to remove it from the binding example.

Please help to review this change.

---
 Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/leds/leds-mt6360.yaml +1 -1
index 2353155..b2fe6eb 100644
@@ -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>;
      };
Signature · 1 line
2.7.4
Reviewed-by on v1 1/1
#1 lore raw

cy_huang <[email protected]> 於 2021年11月17日 週三 下午3:22寫道:

Quoted 40 lines

From: ChiYuan Huang <[email protected]>

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

---
Hi, Gene:

I saw you have removed LED_FUNCTION_MOONLIGHT in v14. But you may forget to remove it from the binding example.

Please help to review this change.

---
 Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/leds/leds-mt6360.yaml +1 -2
index 2353155..b2fe6eb 100644
@@ -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>;
      };
--
Quoted 2 lines

2.7.4

Thanks

Acked-by on v1 1/1
#2 lore raw
In reply to cy_huang
Quoted 18 lines · cy_huang

From: ChiYuan Huang <[email protected]>

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

---
Hi, Gene:

Quoted 7 lines

I saw you have removed LED_FUNCTION_MOONLIGHT in v14. But you may forget to remove it from the binding example.

Please help to review this change.

---
 Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Applied
#3 lore raw
In reply to cy_huang

Hi!

Quoted 9 lines

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

Thanks, applied, hopefully it makes the checker happy.

Best regards,
Pavel

Signature · 1 line
http://www.livejournal.com/~pavelmachek