diff mbox series

ARM: dts: spear: drop 0x from unit address

Message ID 20221210113347.63939-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State Accepted
Commit 2b76cfe190305fe02d8120df64f2a1bb6a3d3889
Headers show
Series ARM: dts: spear: drop 0x from unit address | expand

Commit Message

Krzysztof Kozlowski Dec. 10, 2022, 11:33 a.m. UTC
By coding style, unit address should not start with 0x.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm/boot/dts/spear300.dtsi | 2 +-
 arch/arm/boot/dts/spear310.dtsi | 2 +-
 arch/arm/boot/dts/spear320.dtsi | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Comments

Viresh Kumar Dec. 12, 2022, 6:01 a.m. UTC | #1
On 10-12-22, 12:33, Krzysztof Kozlowski wrote:
> By coding style, unit address should not start with 0x.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  arch/arm/boot/dts/spear300.dtsi | 2 +-
>  arch/arm/boot/dts/spear310.dtsi | 2 +-
>  arch/arm/boot/dts/spear320.dtsi | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/spear300.dtsi b/arch/arm/boot/dts/spear300.dtsi
> index b39bd5a22627..f1135e887f7b 100644
> --- a/arch/arm/boot/dts/spear300.dtsi
> +++ b/arch/arm/boot/dts/spear300.dtsi
> @@ -46,7 +46,7 @@ sdhci@70000000 {
>  			status = "disabled";
>  		};
>  
> -		shirq: interrupt-controller@0x50000000 {
> +		shirq: interrupt-controller@50000000 {
>  			compatible = "st,spear300-shirq";
>  			reg = <0x50000000 0x1000>;
>  			interrupts = <28>;
> diff --git a/arch/arm/boot/dts/spear310.dtsi b/arch/arm/boot/dts/spear310.dtsi
> index 77570833d46b..ce08d8820940 100644
> --- a/arch/arm/boot/dts/spear310.dtsi
> +++ b/arch/arm/boot/dts/spear310.dtsi
> @@ -34,7 +34,7 @@ fsmc: flash@44000000 {
>  			status = "disabled";
>  		};
>  
> -		shirq: interrupt-controller@0xb4000000 {
> +		shirq: interrupt-controller@b4000000 {
>  			compatible = "st,spear310-shirq";
>  			reg = <0xb4000000 0x1000>;
>  			interrupts = <28 29 30 1>;
> diff --git a/arch/arm/boot/dts/spear320.dtsi b/arch/arm/boot/dts/spear320.dtsi
> index b12474446a48..56f141297ea3 100644
> --- a/arch/arm/boot/dts/spear320.dtsi
> +++ b/arch/arm/boot/dts/spear320.dtsi
> @@ -49,7 +49,7 @@ sdhci@70000000 {
>  			status = "disabled";
>  		};
>  
> -		shirq: interrupt-controller@0xb3000000 {
> +		shirq: interrupt-controller@b3000000 {
>  			compatible = "st,spear320-shirq";
>  			reg = <0xb3000000 0x1000>;
>  			interrupts = <30 28 29 1>;

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
patchwork-bot+linux-soc@kernel.org Dec. 19, 2022, 4 p.m. UTC | #2
Hello:

This patch was applied to soc/soc.git (arm/fixes)
by Arnd Bergmann <arnd@arndb.de>:

On Sat, 10 Dec 2022 12:33:46 +0100 you wrote:
> By coding style, unit address should not start with 0x.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  arch/arm/boot/dts/spear300.dtsi | 2 +-
>  arch/arm/boot/dts/spear310.dtsi | 2 +-
>  arch/arm/boot/dts/spear320.dtsi | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Here is the summary with links:
  - ARM: dts: spear: drop 0x from unit address
    https://git.kernel.org/soc/soc/c/2b76cfe19030

You are awesome, thank you!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/spear300.dtsi b/arch/arm/boot/dts/spear300.dtsi
index b39bd5a22627..f1135e887f7b 100644
--- a/arch/arm/boot/dts/spear300.dtsi
+++ b/arch/arm/boot/dts/spear300.dtsi
@@ -46,7 +46,7 @@  sdhci@70000000 {
 			status = "disabled";
 		};
 
-		shirq: interrupt-controller@0x50000000 {
+		shirq: interrupt-controller@50000000 {
 			compatible = "st,spear300-shirq";
 			reg = <0x50000000 0x1000>;
 			interrupts = <28>;
diff --git a/arch/arm/boot/dts/spear310.dtsi b/arch/arm/boot/dts/spear310.dtsi
index 77570833d46b..ce08d8820940 100644
--- a/arch/arm/boot/dts/spear310.dtsi
+++ b/arch/arm/boot/dts/spear310.dtsi
@@ -34,7 +34,7 @@  fsmc: flash@44000000 {
 			status = "disabled";
 		};
 
-		shirq: interrupt-controller@0xb4000000 {
+		shirq: interrupt-controller@b4000000 {
 			compatible = "st,spear310-shirq";
 			reg = <0xb4000000 0x1000>;
 			interrupts = <28 29 30 1>;
diff --git a/arch/arm/boot/dts/spear320.dtsi b/arch/arm/boot/dts/spear320.dtsi
index b12474446a48..56f141297ea3 100644
--- a/arch/arm/boot/dts/spear320.dtsi
+++ b/arch/arm/boot/dts/spear320.dtsi
@@ -49,7 +49,7 @@  sdhci@70000000 {
 			status = "disabled";
 		};
 
-		shirq: interrupt-controller@0xb3000000 {
+		shirq: interrupt-controller@b3000000 {
 			compatible = "st,spear320-shirq";
 			reg = <0xb3000000 0x1000>;
 			interrupts = <30 28 29 1>;