Re: [PATCH] drm: rcar-du: Drop file name from comment header blocks

2022-04-25 Thread Kieran Bingham
Quoting Laurent Pinchart (2022-04-24 22:45:50)
> The comment blocks at the beginning of each file have a one-line
> summary description of the file that includes the file name. While the
> description is useful, the file name only creates opportunities for
> mistakes (as seen in rcar_du_vsp.c) without any added value. Drop it.
> 
> Reported-by: Biju Das 
> Suggested-by: Geert Uytterhoeven 
> Signed-off-by: Laurent Pinchart 


Reviewed-by: Kieran Bingham 

> ---
>  drivers/gpu/drm/rcar-du/rcar_cmm.c   | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_cmm.h   | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_crtc.c   | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_crtc.h   | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_drv.c| 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_drv.h| 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_encoder.c| 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_encoder.h| 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_group.c  | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_group.h  | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_kms.c| 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_kms.h| 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_plane.c  | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_plane.h  | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_regs.h   | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_vsp.c| 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_vsp.h| 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_writeback.c  | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_du_writeback.h  | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_lvds.c  | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_lvds.h  | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_lvds_regs.h | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c  | 2 +-
>  drivers/gpu/drm/rcar-du/rcar_mipi_dsi_regs.h | 2 +-
>  24 files changed, 24 insertions(+), 24 deletions(-)
> 
> diff --git a/drivers/gpu/drm/rcar-du/rcar_cmm.c 
> b/drivers/gpu/drm/rcar-du/rcar_cmm.c
> index 382d53f8a22e..e2a67dda4658 100644
> --- a/drivers/gpu/drm/rcar-du/rcar_cmm.c
> +++ b/drivers/gpu/drm/rcar-du/rcar_cmm.c
> @@ -1,6 +1,6 @@
>  // SPDX-License-Identifier: GPL-2.0+
>  /*
> - * rcar_cmm.c -- R-Car Display Unit Color Management Module
> + * R-Car Display Unit Color Management Module
>   *
>   * Copyright (C) 2019 Jacopo Mondi 
>   */
> diff --git a/drivers/gpu/drm/rcar-du/rcar_cmm.h 
> b/drivers/gpu/drm/rcar-du/rcar_cmm.h
> index b5f7ec6db04a..628072acc98b 100644
> --- a/drivers/gpu/drm/rcar-du/rcar_cmm.h
> +++ b/drivers/gpu/drm/rcar-du/rcar_cmm.h
> @@ -1,6 +1,6 @@
>  /* SPDX-License-Identifier: GPL-2.0+ */
>  /*
> - * rcar_cmm.h -- R-Car Display Unit Color Management Module
> + * R-Car Display Unit Color Management Module
>   *
>   * Copyright (C) 2019 Jacopo Mondi 
>   */
> diff --git a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c 
> b/drivers/gpu/drm/rcar-du/rcar_du_crtc.c
> index 23e1aedf8dc0..621bbccb95d4 100644
> --- a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c
> +++ b/drivers/gpu/drm/rcar-du/rcar_du_crtc.c
> @@ -1,6 +1,6 @@
>  // SPDX-License-Identifier: GPL-2.0+
>  /*
> - * rcar_du_crtc.c  --  R-Car Display Unit CRTCs
> + * R-Car Display Unit CRTCs
>   *
>   * Copyright (C) 2013-2015 Renesas Electronics Corporation
>   *
> diff --git a/drivers/gpu/drm/rcar-du/rcar_du_crtc.h 
> b/drivers/gpu/drm/rcar-du/rcar_du_crtc.h
> index 66e8839db708..d0f38a8b3561 100644
> --- a/drivers/gpu/drm/rcar-du/rcar_du_crtc.h
> +++ b/drivers/gpu/drm/rcar-du/rcar_du_crtc.h
> @@ -1,6 +1,6 @@
>  /* SPDX-License-Identifier: GPL-2.0+ */
>  /*
> - * rcar_du_crtc.h  --  R-Car Display Unit CRTCs
> + * R-Car Display Unit CRTCs
>   *
>   * Copyright (C) 2013-2015 Renesas Electronics Corporation
>   *
> diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c 
> b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
> index 1bc7325aa356..70d85610d720 100644
> --- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c
> +++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
> @@ -1,6 +1,6 @@
>  // SPDX-License-Identifier: GPL-2.0+
>  /*
> - * rcar_du_drv.c  --  R-Car Display Unit DRM driver
> + * R-Car Display Unit DRM driver
>   *
>   * Copyright (C) 2013-2015 Renesas Electronics Corporation
>   *
> diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.h 
> b/drivers/gpu/drm/rcar-du/rcar_du_drv.h
> index 83530721e373..bfad7775d9a1 100644
> --- a/drivers/gpu/drm/rcar-du/rcar_du_drv.h
> +++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.h
> @@ -1,6 +1,6 @@
>  /* SPDX-License-Identifier: GPL-2.0+ */
>  /*
> - * rcar_du_drv.h  --  R-Car Display Unit DRM driver
> + * R-Car Display Unit DRM driver
>   *
>   * Copyright (C) 2013-2015 Renesas Electronics Corporation
>   *
> diff --git a/drivers/gpu/drm/rcar-du/rcar_du_encoder.c 
> b/drivers/gpu/drm/rcar-du/rcar_du_encoder.c
> index 3977aaa1ab5a..bf76a60776bd 100644
> --- a/drivers/gpu/drm/rcar-du/rcar_du_encoder.c
> +++ b/drivers/gpu/drm/rcar-du/rcar_du_encoder.c
> @@ -1,6 +1,6 @@
>  // SPDX-License-Identifier: GPL-2.0+
>  /*
> - * rcar_du_encoder.c  --  R-Car Display Unit Encoder
> + * R-Car Display Unit Encoder
>   *
>   * Copyright (C) 

Re: [PATCH] drm: rcar-du: Drop file name from comment header blocks

2022-04-25 Thread Geert Uytterhoeven
On Sun, Apr 24, 2022 at 11:46 PM Laurent Pinchart
 wrote:
> The comment blocks at the beginning of each file have a one-line
> summary description of the file that includes the file name. While the
> description is useful, the file name only creates opportunities for
> mistakes (as seen in rcar_du_vsp.c) without any added value. Drop it.
>
> Reported-by: Biju Das 
> Suggested-by: Geert Uytterhoeven 
> Signed-off-by: Laurent Pinchart 

Reviewed-by: Geert Uytterhoeven 

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


[PATCH] drm: rcar-du: Drop file name from comment header blocks

2022-04-24 Thread Laurent Pinchart
The comment blocks at the beginning of each file have a one-line
summary description of the file that includes the file name. While the
description is useful, the file name only creates opportunities for
mistakes (as seen in rcar_du_vsp.c) without any added value. Drop it.

Reported-by: Biju Das 
Suggested-by: Geert Uytterhoeven 
Signed-off-by: Laurent Pinchart 
---
 drivers/gpu/drm/rcar-du/rcar_cmm.c   | 2 +-
 drivers/gpu/drm/rcar-du/rcar_cmm.h   | 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_crtc.c   | 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_crtc.h   | 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_drv.c| 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_drv.h| 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_encoder.c| 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_encoder.h| 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_group.c  | 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_group.h  | 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_kms.c| 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_kms.h| 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_plane.c  | 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_plane.h  | 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_regs.h   | 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_vsp.c| 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_vsp.h| 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_writeback.c  | 2 +-
 drivers/gpu/drm/rcar-du/rcar_du_writeback.h  | 2 +-
 drivers/gpu/drm/rcar-du/rcar_lvds.c  | 2 +-
 drivers/gpu/drm/rcar-du/rcar_lvds.h  | 2 +-
 drivers/gpu/drm/rcar-du/rcar_lvds_regs.h | 2 +-
 drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c  | 2 +-
 drivers/gpu/drm/rcar-du/rcar_mipi_dsi_regs.h | 2 +-
 24 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/drivers/gpu/drm/rcar-du/rcar_cmm.c 
b/drivers/gpu/drm/rcar-du/rcar_cmm.c
index 382d53f8a22e..e2a67dda4658 100644
--- a/drivers/gpu/drm/rcar-du/rcar_cmm.c
+++ b/drivers/gpu/drm/rcar-du/rcar_cmm.c
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 /*
- * rcar_cmm.c -- R-Car Display Unit Color Management Module
+ * R-Car Display Unit Color Management Module
  *
  * Copyright (C) 2019 Jacopo Mondi 
  */
diff --git a/drivers/gpu/drm/rcar-du/rcar_cmm.h 
b/drivers/gpu/drm/rcar-du/rcar_cmm.h
index b5f7ec6db04a..628072acc98b 100644
--- a/drivers/gpu/drm/rcar-du/rcar_cmm.h
+++ b/drivers/gpu/drm/rcar-du/rcar_cmm.h
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
- * rcar_cmm.h -- R-Car Display Unit Color Management Module
+ * R-Car Display Unit Color Management Module
  *
  * Copyright (C) 2019 Jacopo Mondi 
  */
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c 
b/drivers/gpu/drm/rcar-du/rcar_du_crtc.c
index 23e1aedf8dc0..621bbccb95d4 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_crtc.c
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 /*
- * rcar_du_crtc.c  --  R-Car Display Unit CRTCs
+ * R-Car Display Unit CRTCs
  *
  * Copyright (C) 2013-2015 Renesas Electronics Corporation
  *
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_crtc.h 
b/drivers/gpu/drm/rcar-du/rcar_du_crtc.h
index 66e8839db708..d0f38a8b3561 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_crtc.h
+++ b/drivers/gpu/drm/rcar-du/rcar_du_crtc.h
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
- * rcar_du_crtc.h  --  R-Car Display Unit CRTCs
+ * R-Car Display Unit CRTCs
  *
  * Copyright (C) 2013-2015 Renesas Electronics Corporation
  *
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c 
b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
index 1bc7325aa356..70d85610d720 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 /*
- * rcar_du_drv.c  --  R-Car Display Unit DRM driver
+ * R-Car Display Unit DRM driver
  *
  * Copyright (C) 2013-2015 Renesas Electronics Corporation
  *
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.h 
b/drivers/gpu/drm/rcar-du/rcar_du_drv.h
index 83530721e373..bfad7775d9a1 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.h
+++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.h
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
- * rcar_du_drv.h  --  R-Car Display Unit DRM driver
+ * R-Car Display Unit DRM driver
  *
  * Copyright (C) 2013-2015 Renesas Electronics Corporation
  *
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_encoder.c 
b/drivers/gpu/drm/rcar-du/rcar_du_encoder.c
index 3977aaa1ab5a..bf76a60776bd 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_encoder.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_encoder.c
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 /*
- * rcar_du_encoder.c  --  R-Car Display Unit Encoder
+ * R-Car Display Unit Encoder
  *
  * Copyright (C) 2013-2014 Renesas Electronics Corporation
  *
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_encoder.h 
b/drivers/gpu/drm/rcar-du/rcar_du_encoder.h
index 73560563fb31..e5ec8fbb3979 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_encoder.h
+++ b/drivers/gpu/drm/rcar-du/rcar_du_encoder.h
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: