LoongArch: dts: minor whitespace cleanup

Message ID 20240208105121.128521-1-krzysztof.kozlowski@linaro.org
State New
Headers
Series LoongArch: dts: minor whitespace cleanup |

Commit Message

Krzysztof Kozlowski Feb. 8, 2024, 10:51 a.m. UTC
  The DTS code coding style expects exactly one space before '{'
character.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/loongarch/boot/dts/loongson-2k0500-ref.dts | 2 +-
 arch/loongarch/boot/dts/loongson-2k1000-ref.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
  

Comments

Huacai Chen Feb. 8, 2024, 12:15 p.m. UTC | #1
Queued, thanks.

Huacai

On Thu, Feb 8, 2024 at 6:51 PM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> The DTS code coding style expects exactly one space before '{'
> character.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  arch/loongarch/boot/dts/loongson-2k0500-ref.dts | 2 +-
>  arch/loongarch/boot/dts/loongson-2k1000-ref.dts | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/loongarch/boot/dts/loongson-2k0500-ref.dts b/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
> index b38071a4d0b0..8aefb0c12672 100644
> --- a/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
> +++ b/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
> @@ -60,7 +60,7 @@ &i2c0 {
>
>         #address-cells = <1>;
>         #size-cells = <0>;
> -       eeprom@57{
> +       eeprom@57 {
>                 compatible = "atmel,24c16";
>                 reg = <0x57>;
>                 pagesize = <16>;
> diff --git a/arch/loongarch/boot/dts/loongson-2k1000-ref.dts b/arch/loongarch/boot/dts/loongson-2k1000-ref.dts
> index 132a2d1ea8bc..ed4d32434041 100644
> --- a/arch/loongarch/boot/dts/loongson-2k1000-ref.dts
> +++ b/arch/loongarch/boot/dts/loongson-2k1000-ref.dts
> @@ -78,7 +78,7 @@ &i2c2 {
>
>         #address-cells = <1>;
>         #size-cells = <0>;
> -       eeprom@57{
> +       eeprom@57 {
>                 compatible = "atmel,24c16";
>                 reg = <0x57>;
>                 pagesize = <16>;
> --
> 2.34.1
>
>
  

Patch

diff --git a/arch/loongarch/boot/dts/loongson-2k0500-ref.dts b/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
index b38071a4d0b0..8aefb0c12672 100644
--- a/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
+++ b/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
@@ -60,7 +60,7 @@  &i2c0 {
 
 	#address-cells = <1>;
 	#size-cells = <0>;
-	eeprom@57{
+	eeprom@57 {
 		compatible = "atmel,24c16";
 		reg = <0x57>;
 		pagesize = <16>;
diff --git a/arch/loongarch/boot/dts/loongson-2k1000-ref.dts b/arch/loongarch/boot/dts/loongson-2k1000-ref.dts
index 132a2d1ea8bc..ed4d32434041 100644
--- a/arch/loongarch/boot/dts/loongson-2k1000-ref.dts
+++ b/arch/loongarch/boot/dts/loongson-2k1000-ref.dts
@@ -78,7 +78,7 @@  &i2c2 {
 
 	#address-cells = <1>;
 	#size-cells = <0>;
-	eeprom@57{
+	eeprom@57 {
 		compatible = "atmel,24c16";
 		reg = <0x57>;
 		pagesize = <16>;