mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] regulator: dt-bindings: Fix building error for dt_binding_check
@ 2019-09-18 14:02 Pragnesh Patel
  2019-09-18 14:27 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Pragnesh Patel @ 2019-09-18 14:02 UTC (permalink / raw)
  To: lgirdwood, broonie
  Cc: Pragnesh Patel, Rob Herring, Mark Rutland, linux-kernel, devicetree

Compatible property is not of type 'string' so replace enum
with items.

Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com>
---
 Documentation/devicetree/bindings/regulator/fixed-regulator.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
index a78150c..8d4a7b2 100644
--- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
@@ -29,7 +29,7 @@ if:
 
 properties:
   compatible:
-    enum:
+    items:
       - const: regulator-fixed
       - const: regulator-fixed-clock
 
-- 
2.7.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-18 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-18 14:02 [PATCH] regulator: dt-bindings: Fix building error for dt_binding_check Pragnesh Patel
2019-09-18 14:27 ` Rob Herring
2019-09-18 18:24   ` Pragnesh Patel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®