diff options
author | Rob Herring <robh@kernel.org> | 2021-10-11 14:12:43 -0500 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-10-14 14:45:22 +1100 |
commit | d8d1a9a77863a8c7031ae82a1d461aa78eb72a7b (patch) | |
tree | 4d8fcaefc7e34a41b36787ae62a01739c520c102 /checks.c | |
parent | 52a16fd7282463e05ee86071463bf0499a9cedf6 (diff) | |
download | device-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.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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); |