]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Jan 2025 12:34:48 +0000 (13:34 +0100)
commit007662f7851519253d357d381bff576d7472a37c
treebbd073a51484a0e22baef614750b3e913beb3088
parent7eb954ec9648a1c4e884621bcebdf3a1d209a92b
of: address: Store number of bus flag cells rather than bool

[ Upstream commit 88696db08b7efa3b6bb722014ea7429e78f6be32 ]

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>
Stable-dep-of: 7f05e20b989a ("of: address: Preserve the flags portion on 1:1 dma-ranges mapping")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/of/address.c