scripts: Fix bindings style migration script
the script is in the utils subdir, which it didn't knew. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
parent
a7405dc7bf
commit
0d8f41b594
2 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ Devicetree
|
||||||
|
|
||||||
* Property names in devicetree and bindings use hyphens(``-``) as separators, and replacing
|
* Property names in devicetree and bindings use hyphens(``-``) as separators, and replacing
|
||||||
all previously used underscores(``_``). For local code, you can migrate property names in
|
all previously used underscores(``_``). For local code, you can migrate property names in
|
||||||
bindings to use hyphens by running the ``scripts/migrate_bindings_style.py`` script.
|
bindings to use hyphens by running the ``scripts/utils/migrate_bindings_style.py`` script.
|
||||||
|
|
||||||
|
|
||||||
DAI
|
DAI
|
||||||
|
|
|
@ -17,7 +17,7 @@ import yaml
|
||||||
# bindings base
|
# bindings base
|
||||||
BINDINGS_PATH = [Path("dts/bindings/")]
|
BINDINGS_PATH = [Path("dts/bindings/")]
|
||||||
BINDINGS_PROPERTIES_AL = None
|
BINDINGS_PROPERTIES_AL = None
|
||||||
with open(Path(__file__).parent / 'bindings_properties_allowlist.yaml') as f:
|
with open(Path(__file__).parents[1] / 'bindings_properties_allowlist.yaml') as f:
|
||||||
allowlist = yaml.safe_load(f.read())
|
allowlist = yaml.safe_load(f.read())
|
||||||
if allowlist is not None:
|
if allowlist is not None:
|
||||||
BINDINGS_PROPERTIES_AL = set(allowlist)
|
BINDINGS_PROPERTIES_AL = set(allowlist)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue