2024-02-08 10:53:29

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] LoongArch: dts: minor whitespace cleanup

The DTS code coding style expects exactly one space before '{'
character.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
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



2024-02-08 12:15:51

by Huacai Chen

[permalink] [raw]
Subject: Re: [PATCH] LoongArch: dts: minor whitespace cleanup

Queued, thanks.

Huacai

On Thu, Feb 8, 2024 at 6:51 PM Krzysztof Kozlowski
<[email protected]> wrote:
>
> The DTS code coding style expects exactly one space before '{'
> character.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> 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
>
>