OSDN Git Service

ARM: dts: stm32: fix joystick node on stm32f746 and stm32mp157c eval boards
authorAlexandre Torgue <alexandre.torgue@st.com>
Mon, 7 Oct 2019 14:34:00 +0000 (16:34 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Fri, 25 Oct 2019 12:28:42 +0000 (14:28 +0200)
"#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>
arch/arm/boot/dts/stm32746g-eval.dts
arch/arm/boot/dts/stm32mp157c-ev1.dts

index d7bb202..fcc804e 100644 (file)
@@ -95,7 +95,6 @@
 
        joystick {
                compatible = "gpio-keys";
-               #size-cells = <0>;
                pinctrl-0 = <&joystick_pins>;
                pinctrl-names = "default";
                button-0 {
index 89d29b5..6287db5 100644 (file)
@@ -32,7 +32,6 @@
 
        joystick {
                compatible = "gpio-keys";
-               #size-cells = <0>;
                pinctrl-0 = <&joystick_pins>;
                pinctrl-names = "default";
                button-0 {