diff mbox series

ARM: dts: stm32: fix -Wall W=1 compilation warnings for can1_sleep pinctrl

Message ID 1561972686-23281-1-git-send-email-erwan.leray@st.com
State Accepted
Commit 1f9510c2ff74645dd0779cdc3fba095458443d9e
Headers show
Series ARM: dts: stm32: fix -Wall W=1 compilation warnings for can1_sleep pinctrl | expand

Commit Message

Erwan Le Ray July 1, 2019, 9:18 a.m. UTC
Fix compilations warnings detected by -Wall W=1 compilation option:
- node has a unit name, but no reg property

Signed-off-by: Erwan Le Ray <erwan.leray@st.com>


-- 
1.9.1

Comments

Alexandre TORGUE July 26, 2019, 4:27 p.m. UTC | #1
Hi Erwan		

On 7/1/19 11:18 AM, Erwan Le Ray wrote:
> Fix compilations warnings detected by -Wall W=1 compilation option:

> - node has a unit name, but no reg property

> 

> Signed-off-by: Erwan Le Ray <erwan.leray@st.com>

> 

> diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi

> index 140a983..ce98fd8 100644

> --- a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi

> +++ b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi

> @@ -427,7 +427,7 @@

>   				};

>   			};

>   

> -			m_can1_sleep_pins_a: m_can1-sleep@0 {

> +			m_can1_sleep_pins_a: m_can1-sleep-0 {

>   				pins {

>   					pinmux = <STM32_PINMUX('H', 13, ANALOG)>, /* CAN1_TX */

>   						 <STM32_PINMUX('I', 9, ANALOG)>; /* CAN1_RX */

> 


Thanks for cleaning the STM32 DT. Applied on stm32-next. Note that I 
changed commit title to indicate which STM32 platform is targeted by 
this patch.

Regards
Alex
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
index 140a983..ce98fd8 100644
--- a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
@@ -427,7 +427,7 @@ 
 				};
 			};
 
-			m_can1_sleep_pins_a: m_can1-sleep@0 {
+			m_can1_sleep_pins_a: m_can1-sleep-0 {
 				pins {
 					pinmux = <STM32_PINMUX('H', 13, ANALOG)>, /* CAN1_TX */
 						 <STM32_PINMUX('I', 9, ANALOG)>; /* CAN1_RX */