summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2018-04-09 11:24:03 +0100
committerSudeep Holla <sudeep.holla@arm.com>2018-04-16 10:15:45 +0100
commitc326599b29f0dac8d73147309ffd31cce2cfdc05 (patch)
tree1fb2738a1904935cd45e7ef594a1f91c3d44aed2 /arch
parent60cc43fc888428bb2f18f08997432d426a243338 (diff)
downloadlinux-stable-c326599b29f0dac8d73147309ffd31cce2cfdc05.tar.gz
linux-stable-c326599b29f0dac8d73147309ffd31cce2cfdc05.tar.bz2
linux-stable-c326599b29f0dac8d73147309ffd31cce2cfdc05.zip
arm64: dts: juno: drop unnecessary address-cells and size-cells properties
/smb@8000000/motherboard/gpio_keys node doesn't have "ranges" or "reg" property in child nodes. So it's unnecessary to have address-cells as well as size-cells properties which results in below warning. Warning (avoid_unnecessary_addr_size): /smb@8000000/motherboard/gpio_keys: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property This patch drops the unnecessary address+size-cell properties. Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Liviu Dudau <liviu.dudau@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/arm/juno-motherboard.dtsi2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
index 2ac43221ddb6..69804c5f1197 100644
--- a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
@@ -56,8 +56,6 @@
gpio_keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
power-button {
debounce_interval = <50>;