Thread (3 messages) 3 messages, 3 authors, 2017-12-14

[PATCH] arm64: dts: Remove leading 0x and 0s from bindings notation

From: joe@perches.com (Joe Perches)
Date: 2017-12-14 18:30:14
Also in: linux-arm-msm, linux-devicetree, linux-mediatek, lkml

On Thu, 2017-12-14 at 19:03 +0100, Matthias Brugger wrote:
On 12/14/2017 05:53 PM, Mathieu Malaterre wrote:
[...]
quoted
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 26396ef53bde..0446b122a6e2 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -249,7 +249,7 @@
 			reg = <0 0x10005000 0 0x1000>;
 		};
 
-		pio: pinctrl at 0x10005000 {
+		pio: pinctrl at 10005000 {
 			compatible = "mediatek,mt8173-pinctrl";
 			reg = <0 0x1000b000 0 0x1000>;
 			mediatek,pctl-regmap = <&syscfg_pctl_a>;
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Should all of these be fixed?

$ git grep -P "^\s*\w+:\s*[\w\-]+ at 0[xX]" -- "*.dts*" | wc -l
69

Is this a pattern that should be added to checkpatch?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help