Skip to content

Commit

Permalink
scripts/dts: Remove 'use-prop-name' from clock generation
Browse files Browse the repository at this point in the history
We never set 'use-prop-name' on clock bindings so lets just always
use CLOCK_CONTROLLER as the define name we generate.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information
galak committed Jun 25, 2019
1 parent 593d628 commit 79b59e8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/dts/extract/clocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,7 @@ def _extract_consumer(self, node_path, clocks, def_label):
'clocks']['generation']
except:
generation = ''
if 'use-prop-name' in generation:
clock_cell_name = 'CLOCKS_CONTROLLER'
else:
clock_cell_name = 'CLOCK_CONTROLLER'
clock_cell_name = 'CLOCK_CONTROLLER'
if clock_index == 0 and \
len(clocks) == (len(clock_cells) + 1):
index = ''
Expand Down

0 comments on commit 79b59e8

Please sign in to comment.