Skip to contentSkip to conversation

ARM: tegra: apalis-tk1: Drop leading 0 from unit-address

PATCH In review Thierry Reding 2 participants 3 messages Nov 7, 2016 – Nov 8, 2016 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: tegra: apalis-tk1: Drop leading 0 from unit-address

From: Thierry Reding <[email protected]>

According to the latest best practices, unit-addresses should be represented without any leading zeroes.

---
 arch/arm/boot/dts/tegra124-apalis.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/tegra124-apalis.dtsi +1 -1
index e7a73db17613..0819721dda59 100644
@@ -1595,7 +1595,7 @@
 		clock-frequency = <400000>;
 
 		/* SGTL5000 audio codec */
-		sgtl5000: codec@0a {
+		sgtl5000: codec@a {
 			compatible = "fsl,sgtl5000";
 			reg = <0x0a>;
 			VDDA-supply = <&reg_3v3>;
Signature · 1 line
2.10.2
#2 lore raw
In reply to a message not in the archive
Quoted 5 lines · Thierry Reding

From: Thierry Reding <[email protected]

Quoted 1 line

According to the latest best practices, unit-addresses should be represented without any leading zeroes.

Understood, sorry about that.

Quoted 1 line
Quoted 18 lines

---
 arch/arm/boot/dts/tegra124-apalis.dtsi | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/tegra124-apalis.dtsi +0 -0
index e7a73db17613..0819721dda59 100644
@@ -1595,7 +1595,7 @@
  		clock-frequency = <400000>;


  /* SGTL5000 audio codec */

arch/arm/boot/dts/tegra124-apalis.dtsi +1 -1
-		sgtl5000: codec@0a {
+		sgtl5000: codec@a {

  compatible = "fsl,sgtl5000"; reg = <0x0a>; VDDA-supply = <&reg_3v3>;