Skip to contentSkip to conversation

MIPS: Standardize DTS files, status "ok" -> "okay"

PATCH Applied Robert P. J. Day 2 participants 2 messages Sep 2, 2017 – Nov 7, 2017

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

PATCH 1/1 MIPS: Standardize DTS files, status "ok" -> "okay"

While the current kernel code in drivers/of/ allows developers to be sloppy and use the status value "ok", the current DTSpec 0.1 makes it clear that the only officially proper spelling is "okay", so adjust the very small number of DTS files under arch/mips/.

---

arch/mips/boot/dts/brcm/bcm63268-comtrend-vr-3032u.dts +1 -1
index 430d35c..18397f4 100644
@@ -18,7 +18,7 @@
 };
 
 &leds0 {
-	status = "ok";
+	status = "okay";
 	brcm,serial-leds;
 	brcm,serial-dat-low;
 	brcm,serial-shift-inv;
arch/mips/boot/dts/brcm/bcm6358-neufbox4-sercomm.dts +1 -1
index 702eae2..cfffbba 100644
@@ -18,7 +18,7 @@
 };
 
 &leds0 {
-	status = "ok";
+	status = "okay";
 
 	led@0 {
 		reg = <0>;
arch/mips/boot/dts/ralink/rt3052_eval.dts +1 -1
index ec9e9a0..564870f 100644
@@ -46,6 +46,6 @@
 	};
 
 	usb@101c0000 {
-		status = "ok";
+		status = "okay";
 	};
 };
Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
Applied
#1 lore raw
Quoted 7 lines · Robert P. J. Day

While the current kernel code in drivers/of/ allows developers to be sloppy and use the status value "ok", the current DTSpec 0.1 makes it clear that the only officially proper spelling is "okay", so adjust the very small number of DTS files under arch/mips/.

Thanks, Applied for 4.15.

Cheers
James