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:
Fin Maaß 2025-06-18 11:11:04 +02:00 committed by Anas Nashif
commit 0d8f41b594
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ import yaml
# bindings base
BINDINGS_PATH = [Path("dts/bindings/")]
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())
if allowlist is not None:
BINDINGS_PROPERTIES_AL = set(allowlist)