xtensa: fix DTC warning unit_address_format
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 17 Mar 2022 09:49:41 +0000 (02:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 07:08:27 +0000 (09:08 +0200)
commitcac5d2a9c6a49879444c9845d7cecc6f722b6902
treef0f322435ba10b065cd62d7b1c2c80f8cf581534
parent2e50be51601f8d80d1587e885c9fbc63e5ec10c1
xtensa: fix DTC warning unit_address_format

[ Upstream commit e85d29ba4b24f68e7a78cb85c55e754362eeb2de ]

DTC issues the following warnings when building xtfpga device trees:

 /soc/flash@00000000/partition@0x0: unit name should not have leading "0x"
 /soc/flash@00000000/partition@0x6000000: unit name should not have leading "0x"
 /soc/flash@00000000/partition@0x6800000: unit name should not have leading "0x"
 /soc/flash@00000000/partition@0x7fe0000: unit name should not have leading "0x"

Drop leading 0x from flash partition unit names.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi
arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi
arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi