[PATCH] LoongArch: dts: minor whitespace cleanup

Krzysztof Kozlowski posted 1 patch 2 years ago
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(-)
[PATCH] LoongArch: dts: minor whitespace cleanup
Posted by Krzysztof Kozlowski 2 years ago
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
Re: [PATCH] LoongArch: dts: minor whitespace cleanup
Posted by Huacai Chen 2 years ago
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
>
>