From 99769990ed8e92367d9acb594c36d757d018de51 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Wed, 7 Aug 2019 09:53:35 -0500 Subject: [PATCH] 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 --- scripts/dts/gen_defines.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/dts/gen_defines.py b/scripts/dts/gen_defines.py index 1284b8338b7..b4c522eaee8 100755 --- a/scripts/dts/gen_defines.py +++ b/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: