scripts/dts: Remove unused create_phandles() 'handle' parameter
Unused. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
ace8450040
commit
8c515b25a3
2 changed files with 3 additions and 3 deletions
|
@ -114,7 +114,7 @@ def create_chosen(root):
|
|||
chosen[k] = v
|
||||
|
||||
|
||||
def create_phandles(root, name, handles):
|
||||
def create_phandles(root, name):
|
||||
if root['props'].get('status') == 'disabled':
|
||||
return
|
||||
|
||||
|
@ -125,7 +125,7 @@ def create_phandles(root, name, handles):
|
|||
name += '/'
|
||||
|
||||
for k, v in root['children'].items():
|
||||
create_phandles(v, name + k, handles)
|
||||
create_phandles(v, name + k)
|
||||
|
||||
|
||||
def insert_defs(node_address, new_defs, new_aliases):
|
||||
|
|
|
@ -505,7 +505,7 @@ def main():
|
|||
|
||||
# Create some global data structures from the parsed DTS
|
||||
create_reduced(root, '/')
|
||||
create_phandles(root, '/', {})
|
||||
create_phandles(root, '/')
|
||||
create_aliases(root)
|
||||
create_chosen(root)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue