2013-06-11 18:46:09

by Matt Porter

[permalink] [raw]
Subject: [PATCH] ARM: dts: bcm281xx: change comment to C89 style

CodingStyle does not allow C99 style comments. Since the
dts files live in the kernel for now, make this compliant.

Signed-off-by: Matt Porter <[email protected]>
Acked-by: Christian Daudt <[email protected]>
---
arch/arm/boot/dts/bcm11351.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi
index 824bebe..0651a72 100644
--- a/arch/arm/boot/dts/bcm11351.dtsi
+++ b/arch/arm/boot/dts/bcm11351.dtsi
@@ -36,7 +36,7 @@

smc@0x3404c000 {
compatible = "bcm,bcm11351-smc", "bcm,kona-smc";
- reg = <0x3404c000 0x400>; //1 KiB in SRAM
+ reg = <0x3404c000 0x400>; /* 1 KiB in SRAM */
};

uart@3e000000 {
--
1.7.9.5


2013-06-20 21:14:25

by Christian Daudt

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: bcm281xx: change comment to C89 style

On 13-06-11 11:45 AM, Matt Porter wrote:
> CodingStyle does not allow C99 style comments. Since the
> dts files live in the kernel for now, make this compliant.
>
> Signed-off-by: Matt Porter <[email protected]>
> Acked-by: Christian Daudt <[email protected]>
> ---
> arch/arm/boot/dts/bcm11351.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi
> index 824bebe..0651a72 100644
> --- a/arch/arm/boot/dts/bcm11351.dtsi
> +++ b/arch/arm/boot/dts/bcm11351.dtsi
> @@ -36,7 +36,7 @@
>
> smc@0x3404c000 {
> compatible = "bcm,bcm11351-smc", "bcm,kona-smc";
> - reg = <0x3404c000 0x400>; //1 KiB in SRAM
> + reg = <0x3404c000 0x400>; /* 1 KiB in SRAM */
> };
>
> uart@3e000000 {
applied for for-3.11/dt
thanks,
csd