OSDN Git Service

fixed-regulator: dt-bindings: Fixed building error for compatible property
authorPragnesh Patel <pragnesh.patel@sifive.com>
Thu, 19 Sep 2019 06:39:04 +0000 (12:09 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 11:21:54 +0000 (12:21 +0100)
Compatible property is not of type 'string', so remove const:
from it.

Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1568875145-2864-1-git-send-email-pragnesh.patel@sifive.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/fixed-regulator.yaml

index a78150c..f324169 100644 (file)
@@ -30,8 +30,8 @@ if:
 properties:
   compatible:
     enum:
-      - const: regulator-fixed
-      - const: regulator-fixed-clock
+      - regulator-fixed
+      - regulator-fixed-clock
 
   regulator-name: true