summaryrefslogtreecommitdiff
path: root/checks.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2021-10-11 14:12:43 -0500
committerDavid Gibson <david@gibson.dropbear.id.au>2021-10-14 14:45:22 +1100
commitd8d1a9a77863a8c7031ae82a1d461aa78eb72a7b (patch)
tree4d8fcaefc7e34a41b36787ae62a01739c520c102 /checks.c
parent52a16fd7282463e05ee86071463bf0499a9cedf6 (diff)
downloaddevice-tree-compiler-d8d1a9a77863a8c7031ae82a1d461aa78eb72a7b.tar.gz
checks: Drop interrupt provider '#address-cells' check
'#address-cells' is only needed when parsing 'interrupt-map' properties, so remove it from the common interrupt-provider test. Cc: Andre Przywara <andre.przywara@arm.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Rob Herring <robh@kernel.org> Message-Id: <20211011191245.1009682-3-robh@kernel.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'checks.c')
-rw-r--r--checks.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/checks.c b/checks.c
index 8153793..c6eba76 100644
--- a/checks.c
+++ b/checks.c
@@ -1581,11 +1581,6 @@ static void check_interrupt_provider(struct check *c,
if (!prop)
FAIL(c, dti, node,
"Missing #interrupt-cells in interrupt provider");
-
- prop = get_property(node, "#address-cells");
- if (!prop)
- FAIL(c, dti, node,
- "Missing #address-cells in interrupt provider");
}
WARNING(interrupt_provider, check_interrupt_provider, NULL, &interrupts_extended_is_cell);