diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-04-14 12:42:30 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-04-18 18:46:21 -0500 |
commit | e5ace96f2cba612825b82421eb6068fc94fb9da5 (patch) | |
tree | c40ef793838f929df5d5c839e927b6d710f2065b /Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml | |
parent | 112d5560a0678f5cea0f242ac576eefafed2a9e7 (diff) |
dt-bindings: display: simplify compatibles syntax
Lists (items) with one item should be just const or enum because it is
shorter and simpler.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230414104230.23165-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml b/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml index 9ec0e8aae4c6..57b44a0e763d 100644 --- a/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml +++ b/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml @@ -34,8 +34,8 @@ properties: - items: - const: sharp,lq101r1sx03 - const: sharp,lq101r1sx01 - - items: - - const: sharp,lq101r1sx01 + - enum: + - sharp,lq101r1sx01 reg: true power-supply: true |