Browse Source

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>
main
Rob Herring 3 years ago committed by David Gibson
parent
commit
d8d1a9a778
  1. 5
      checks.c

5
checks.c

@ -1581,11 +1581,6 @@ static void check_interrupt_provider(struct check *c,
if (!prop) if (!prop)
FAIL(c, dti, node, FAIL(c, dti, node,
"Missing #interrupt-cells in interrupt provider"); "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); WARNING(interrupt_provider, check_interrupt_provider, NULL, &interrupts_extended_is_cell);



Loading…
Cancel
Save