diff options
author | Rob Herring <robh@kernel.org> | 2020-08-14 17:21:41 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-08-14 17:28:52 +0200 |
commit | 5f0b06da5cde3f0a613308b89f0afea678559fdf (patch) | |
tree | b440f87a723612710cb9fa28421c5c75f8571169 /Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml | |
parent | dt-bindings: Whitespace clean-ups in schema files (diff) | |
download | linux-5f0b06da5cde3f0a613308b89f0afea678559fdf.tar.xz linux-5f0b06da5cde3f0a613308b89f0afea678559fdf.zip |
dt-bindings: Remove more cases of 'allOf' containing a '$ref'
Another wack-a-mole pass of killing off unnecessary 'allOf + $ref'
usage.
json-schema versions draft7 and earlier have a weird behavior in that
any keywords combined with a '$ref' are ignored (silently). The correct
form was to put a '$ref' under an 'allOf'. This behavior is now changed
in the 2019-09 json-schema spec and '$ref' can be mixed with other
keywords. The json-schema library doesn't yet support this, but the
tooling now does a fixup for this and either way works.
This has been a constant source of review comments, so let's change this
treewide so everyone copies the simpler syntax.
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml index 52b3cdac0bdf..f54b4e4808f0 100644 --- a/Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml @@ -32,8 +32,7 @@ properties: - const: hdmi ddc: - allOf: - - $ref: /schemas/types.yaml#/definitions/phandle + $ref: /schemas/types.yaml#/definitions/phandle description: > Phandle of the I2C controller used for DDC EDID probing |