loongarch.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH] LoongArch: dts: minor whitespace cleanup
@ 2024-02-08 10:51 Krzysztof Kozlowski
  2024-02-08 12:15 ` Huacai Chen
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2024-02-08 10:51 UTC (permalink / raw
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Huacai Chen,
	WANG Xuerui, devicetree, loongarch, linux-kernel
  Cc: Krzysztof Kozlowski

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] LoongArch: dts: minor whitespace cleanup
  2024-02-08 10:51 [PATCH] LoongArch: dts: minor whitespace cleanup Krzysztof Kozlowski
@ 2024-02-08 12:15 ` Huacai Chen
  0 siblings, 0 replies; 2+ messages in thread
From: Huacai Chen @ 2024-02-08 12:15 UTC (permalink / raw
  To: Krzysztof Kozlowski
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, WANG Xuerui,
	devicetree, loongarch, linux-kernel

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
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-08 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-08 10:51 [PATCH] LoongArch: dts: minor whitespace cleanup Krzysztof Kozlowski
2024-02-08 12:15 ` Huacai Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).