Skip to content
Permalink
Browse files

scripts/dts/gen_defines: Cleanup write_prop for which props we process

We don't create props for compound types so we dont need to check for
'pwms', 'gpios', 'clocks'.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information...
galak committed Aug 7, 2019
1 parent 15700ff commit 99769990ed8e92367d9acb594c36d757d018de51
Showing with 1 addition and 2 deletions.
  1. +1 −2 scripts/dts/gen_defines.py
@@ -154,8 +154,7 @@ def write_props(dev):
continue

# Skip properties that we handle elsewhere
if prop.name in {"reg", "interrupts", "pwms", "clocks", "compatible"} or \
prop.name.endswith("gpios"):
if prop.name in {"reg", "interrupts", "compatible"}:
continue

if prop.description is not None:

0 comments on commit 9976999

Please sign in to comment.
You can’t perform that action at this time.