summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChiYuan Huang <cy_huang@richtek.com>2021-11-17 15:22:06 +0800
committerPavel Machek <pavel@ucw.cz>2022-01-12 19:43:14 +0100
commit8018708d2d39a08144f39f0a61e49cdb943c2b2e (patch)
treee17103eb52c333803d36dfd3cfa1e11fcc9a7e17
parent495b8966f7ad92cac9ff84b52ce6365b1bf9c68c (diff)
downloadlinux-8018708d2d39a08144f39f0a61e49cdb943c2b2e.tar.bz2
dt-bindings: leds: Replace moonlight with indicator in mt6360 example
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>
-rw-r--r--Documentation/devicetree/bindings/leds/leds-mt6360.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
index 235315531d3b..b2fe6eb89389 100644
--- a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
@@ -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>;
};