diff options
author | Rob Herring <robh@kernel.org> | 2023-11-01 09:09:22 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-11-13 01:26:11 +0000 |
commit | 6d02f355c3d2fe86f503793e4df09898e9f9e703 (patch) | |
tree | 5ae2c2474bc175bc51bbbf6db047e3bb3648d8ab /mm/percpu-vm.c | |
parent | 970f88ad0026ba8427e319b1da932c161723db82 (diff) |
ASoC: dt-bindings: Simplify port schema
The use of 'definitions' is not necessary and also problematic because the
dtschema tools don't process 'definitions' resulting in this spurious
warning:
Documentation/devicetree/bindings/sound/renesas,rsnd.example.dtb: sound@ec500000: port:endpoint: Unevaluated properties are not allowed ('phandle' was unexpected)
from schema $id: http://devicetree.org/schemas/sound/renesas,rsnd.yaml#
Fix this by moving the port schema to #/properties/port and referencing
that directly from the 'ports' schema.
Really, a binding should just always use 'ports' if multiple ports are
possible. There's no benefit to supporting both forms. However, it appears
there are already lots of users of this one with a single 'port' node.
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231101140923.16344-2-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/percpu-vm.c')
0 files changed, 0 insertions, 0 deletions