scripts/dts/gen_defines.py: Ignore 'gpio-controller' prop

We don't want any defines generated for the boolean
'gpio-controller'.  So skip it in write_props if we see it.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-08-09 08:43:46 -05:00 committed by Kumar Gala
commit 480dcc1634

View file

@ -155,7 +155,8 @@ def write_props(dev):
continue
# Skip properties that we handle elsewhere
if prop.name in {"reg", "interrupts", "compatible", "interrupt-controller"}:
if prop.name in {"reg", "interrupts", "compatible", "interrupt-controller",
"gpio-controller"}:
continue
if prop.description is not None: