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>
This commit is contained in:
Kumar Gala 2019-08-07 09:53:35 -05:00 committed by Kumar Gala
commit 99769990ed

View file

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