scripts/dts: Remove unused create_phandles() 'handle' parameter

Unused.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-02-08 22:26:51 +01:00 committed by Kumar Gala
commit 8c515b25a3
2 changed files with 3 additions and 3 deletions

View file

@ -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):

View file

@ -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)