diff options
| author | Rob Herring <[email protected]> | 2022-05-03 16:27:38 +0000 |
|---|---|---|
| committer | Rob Herring <[email protected]> | 2022-05-04 21:19:03 +0000 |
| commit | caf83e494de965dbb5f8add655c526b9af6a96cb (patch) | |
| tree | 98a5516800fda21fffd8361292ac412359584508 /fs/btrfs/async-thread.c | |
| parent | dt-bindings: pinctrl: Allow values for drive-push-pull and drive-open-drain (diff) | |
| download | kernel-caf83e494de965dbb5f8add655c526b9af6a96cb.tar.gz kernel-caf83e494de965dbb5f8add655c526b9af6a96cb.zip | |
dt-bindings: Drop redundant 'maxItems/minItems' in if/then schemas
Another round of removing redundant minItems/maxItems when 'items' list is
specified. This time it is in if/then schemas as the meta-schema was
failing to check this case.
If a property has an 'items' list, then a 'minItems' or 'maxItems' with the
same size as the list is redundant and can be dropped. Note that is DT
schema specific behavior and not standard json-schema behavior. The tooling
will fixup the final schema adding any unspecified minItems/maxItems.
Signed-off-by: Rob Herring <[email protected]>
Acked-By: Vinod Koul <[email protected]>
Acked-by: Marc Kleine-Budde <[email protected]>
Acked-by: Mark Brown <[email protected]>
Acked-by: Ulf Hansson <[email protected]> # For MMC
Acked-by: Jonathan Cameron <[email protected]> #for IIO
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
