]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: mediatek: acelink-ew-7886cax: Remove unnecessary cells in spi-nand
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 24 Jul 2025 08:39:02 +0000 (10:39 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 12 Sep 2025 14:11:32 +0000 (16:11 +0200)
commitca27e6078ffc1581ed5ec3ac36917d26668a4462
tree192c88a27241c2b49b0b7f27201259f612c96545
parent1d0775def5e71cc8074edd85c6791b8780062737
arm64: dts: mediatek: acelink-ew-7886cax: Remove unnecessary cells in spi-nand

There is no need to specify #address-cells and #size-cells in a
node that has only one non-addressable subnode, and this is the
case of the flash@0 node in this devicetree, as it has only one
"partitions" subnode.

Remove those to suppress an avoid_unnecessary_addr_size warning.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Fei Shao <fshao@chromium.org>
Link: https://lore.kernel.org/r/20250724083914.61351-27-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt7986a-acelink-ew-7886cax.dts