forked from robherring/dt-schema
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixups: Convert anyOf/oneOf + const to enum
The use anyOf/oneOf + const is common when a description is desired for enum entries. But anyOf/oneOf gives worse error messages, so convert this pattern to an 'enum'. Signed-off-by: Rob Herring (Arm) <[email protected]>
- Loading branch information
1 parent
64b72b0
commit 0f006b1
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters