arm64: dts: mediatek: mt8183-evb: Fix unit_address_vs_reg warning on ntc
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 25 Oct 2023 09:38:14 +0000 (11:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2023 17:45:27 +0000 (18:45 +0100)
commit2e465268df4cbf81450eda3d913213553619d8c7
treed33ff272b052e6f97a6ef476e8461f09e5c2761d
parentbfff27fb5d2d7f40b5f989cd446a1cdea03b514c
arm64: dts: mediatek: mt8183-evb: Fix unit_address_vs_reg warning on ntc

commit 9dea1c724fc36643e83216c1f5a26613412150db upstream.

The NTC is defined as ntc@0 but it doesn't need any address at all.
Fix the unit_address_vs_reg warning by dropping the unit address: since
the node name has to be generic also fully rename it from ntc@0 to
thermal-sensor.

Cc: stable@vger.kernel.org
Fixes: ff9ea5c62279 ("arm64: dts: mediatek: mt8183-evb: Add node for thermistor")
Link: https://lore.kernel.org/r/20231025093816.44327-7-angelogioacchino.delregno@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/mediatek/mt8183-evb.dts