summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Torgue <alexandre.torgue@st.com>2019-10-07 16:34:00 +0200
committerAlexandre Torgue <alexandre.torgue@st.com>2019-10-25 14:28:42 +0200
commitda5152f25adec75888328d9d5090b704a7a09af9 (patch)
treea45ad21eae92718b9ccc24cff23fecdee9419bde
parent8fcdbdccce21c5d560ca7aaf208f183abe6a0eb6 (diff)
ARM: dts: stm32: fix joystick node on stm32f746 and stm32mp157c eval boards
"#size-cells" entry is not needed for "gpio-keys" driver. Indeed "reg" entry is not used. This commit will fix a warnings seen by DT validation tool. Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
-rw-r--r--arch/arm/boot/dts/stm32746g-eval.dts1
-rw-r--r--arch/arm/boot/dts/stm32mp157c-ev1.dts1
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts
index d7bb2027cfaa..fcc804e3c158 100644
--- a/arch/arm/boot/dts/stm32746g-eval.dts
+++ b/arch/arm/boot/dts/stm32746g-eval.dts
@@ -95,7 +95,6 @@
joystick {
compatible = "gpio-keys";
- #size-cells = <0>;
pinctrl-0 = <&joystick_pins>;
pinctrl-names = "default";
button-0 {
diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
index 89d29b50c3f4..6287db532e7d 100644
--- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
@@ -32,7 +32,6 @@
joystick {
compatible = "gpio-keys";
- #size-cells = <0>;
pinctrl-0 = <&joystick_pins>;
pinctrl-names = "default";
button-0 {