scripts/dts: Fix binding_compats/bindings_compat naming mismatch

'binding_compats' makes the most sense, so use that everywhere.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-02-21 21:34:45 +01:00 committed by Kumar Gala
parent 5999f10ba2
commit 59a0c4331d
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ defs = {}
structs = {}
bindings = {}
bus_bindings = {}
bindings_compat = []
binding_compats = []
old_alias_names = False
regs_config = {
@ -305,7 +305,7 @@ def get_binding(node_path):
return binding
def get_binding_compats():
return bindings_compat
return binding_compats
def build_cell_array(prop_array):
index = 0

View file

@ -379,7 +379,7 @@ def load_bindings(root, binding_dirs):
extract.globals.bindings = compat_to_binding
extract.globals.bus_bindings = bus_to_binding
extract.globals.bindings_compat = compats
extract.globals.binding_compats = compats
def find_binding_files(binding_dirs):