of: address: Store number of bus flag cells rather than bool
authorRob Herring <robh@kernel.org>
Thu, 26 Oct 2023 13:53:58 +0000 (08:53 -0500)
committerRob Herring <robh@kernel.org>
Fri, 27 Oct 2023 21:37:42 +0000 (16:37 -0500)
commit88696db08b7efa3b6bb722014ea7429e78f6be32
tree528e8fb9e4899e73d71a134b651fdbdb13450db7
parent4d9ec5f04bad67abdbbd036801edba37e642f87d
of: address: Store number of bus flag cells rather than bool

It is more useful to know how many flags cells a bus has rather than
whether a bus has flags or not as ultimately the number of cells is the
information used. Replace 'has_flags' boolean with 'flag_cells' count.

Acked-by: Herve Codina <herve.codina@bootlin.com>
Link: https://lore.kernel.org/r/20231026135358.3564307-2-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/address.c