diff mbox series

pmdomain: renesas: rcar-gen4-sysc: Remove unneeded includes

Message ID 5b440f84ab8b52499ab307c84154dcbc0f41d1d7.1705931035.git.geert+renesas@glider.be (mailing list archive)
State Handled Elsewhere, archived
Headers show
Series pmdomain: renesas: rcar-gen4-sysc: Remove unneeded includes | expand

Commit Message

Geert Uytterhoeven Jan. 22, 2024, 1:44 p.m. UTC
The R-Car V3U System Controller (SYSC) driver no longer needs these
includes since the factoring out of the common R-Car Gen4 SYSC driver in
commit e62906d6315f652b ("soc: renesas: rcar-gen4-sysc: Introduce R-Car
Gen4 SYSC driver").

The R-Car S4-8 and V4H SYSC drivers never needed these includes, as
these drivers always used the common R-Car Gen4 SYSC driver.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/pmdomain/renesas/r8a779a0-sysc.c | 12 ------------
 drivers/pmdomain/renesas/r8a779f0-sysc.c | 12 ------------
 drivers/pmdomain/renesas/r8a779g0-sysc.c | 12 ------------
 3 files changed, 36 deletions(-)

Comments

Ulf Hansson Jan. 22, 2024, 3:21 p.m. UTC | #1
On Mon, 22 Jan 2024 at 14:44, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
>
> The R-Car V3U System Controller (SYSC) driver no longer needs these
> includes since the factoring out of the common R-Car Gen4 SYSC driver in
> commit e62906d6315f652b ("soc: renesas: rcar-gen4-sysc: Introduce R-Car
> Gen4 SYSC driver").
>
> The R-Car S4-8 and V4H SYSC drivers never needed these includes, as
> these drivers always used the common R-Car Gen4 SYSC driver.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  drivers/pmdomain/renesas/r8a779a0-sysc.c | 12 ------------
>  drivers/pmdomain/renesas/r8a779f0-sysc.c | 12 ------------
>  drivers/pmdomain/renesas/r8a779g0-sysc.c | 12 ------------
>  3 files changed, 36 deletions(-)
>
> diff --git a/drivers/pmdomain/renesas/r8a779a0-sysc.c b/drivers/pmdomain/renesas/r8a779a0-sysc.c
> index 04f1bc322ae7b671..54cdf250f7c2d143 100644
> --- a/drivers/pmdomain/renesas/r8a779a0-sysc.c
> +++ b/drivers/pmdomain/renesas/r8a779a0-sysc.c
> @@ -5,19 +5,7 @@
>   * Copyright (C) 2020 Renesas Electronics Corp.
>   */
>
> -#include <linux/bits.h>
> -#include <linux/clk/renesas.h>
> -#include <linux/delay.h>
> -#include <linux/err.h>
> -#include <linux/io.h>
> -#include <linux/iopoll.h>
>  #include <linux/kernel.h>
> -#include <linux/mm.h>
> -#include <linux/of_address.h>
> -#include <linux/pm_domain.h>
> -#include <linux/slab.h>
> -#include <linux/spinlock.h>
> -#include <linux/types.h>
>
>  #include <dt-bindings/power/r8a779a0-sysc.h>
>
> diff --git a/drivers/pmdomain/renesas/r8a779f0-sysc.c b/drivers/pmdomain/renesas/r8a779f0-sysc.c
> index 5602aa6bd7ed1529..6ed13cd1cb249df5 100644
> --- a/drivers/pmdomain/renesas/r8a779f0-sysc.c
> +++ b/drivers/pmdomain/renesas/r8a779f0-sysc.c
> @@ -5,19 +5,7 @@
>   * Copyright (C) 2021 Renesas Electronics Corp.
>   */
>
> -#include <linux/bits.h>
> -#include <linux/clk/renesas.h>
> -#include <linux/delay.h>
> -#include <linux/err.h>
> -#include <linux/io.h>
> -#include <linux/iopoll.h>
>  #include <linux/kernel.h>
> -#include <linux/mm.h>
> -#include <linux/of_address.h>
> -#include <linux/pm_domain.h>
> -#include <linux/slab.h>
> -#include <linux/spinlock.h>
> -#include <linux/types.h>
>
>  #include <dt-bindings/power/r8a779f0-sysc.h>
>
> diff --git a/drivers/pmdomain/renesas/r8a779g0-sysc.c b/drivers/pmdomain/renesas/r8a779g0-sysc.c
> index b932eba1b8042d8f..249cf43af45b6445 100644
> --- a/drivers/pmdomain/renesas/r8a779g0-sysc.c
> +++ b/drivers/pmdomain/renesas/r8a779g0-sysc.c
> @@ -5,19 +5,7 @@
>   * Copyright (C) 2022 Renesas Electronics Corp.
>   */
>
> -#include <linux/bits.h>
> -#include <linux/clk/renesas.h>
> -#include <linux/delay.h>
> -#include <linux/err.h>
> -#include <linux/io.h>
> -#include <linux/iopoll.h>
>  #include <linux/kernel.h>
> -#include <linux/mm.h>
> -#include <linux/of_address.h>
> -#include <linux/pm_domain.h>
> -#include <linux/slab.h>
> -#include <linux/spinlock.h>
> -#include <linux/types.h>
>
>  #include <dt-bindings/power/r8a779g0-sysc.h>
>
> --
> 2.34.1
>
Niklas Söderlund Jan. 22, 2024, 3:26 p.m. UTC | #2
Hi Geert,

Thanks for your work.

On 2024-01-22 14:44:41 +0100, Geert Uytterhoeven wrote:
> The R-Car V3U System Controller (SYSC) driver no longer needs these
> includes since the factoring out of the common R-Car Gen4 SYSC driver in
> commit e62906d6315f652b ("soc: renesas: rcar-gen4-sysc: Introduce R-Car
> Gen4 SYSC driver").
> 
> The R-Car S4-8 and V4H SYSC drivers never needed these includes, as
> these drivers always used the common R-Car Gen4 SYSC driver.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

> ---
>  drivers/pmdomain/renesas/r8a779a0-sysc.c | 12 ------------
>  drivers/pmdomain/renesas/r8a779f0-sysc.c | 12 ------------
>  drivers/pmdomain/renesas/r8a779g0-sysc.c | 12 ------------
>  3 files changed, 36 deletions(-)
> 
> diff --git a/drivers/pmdomain/renesas/r8a779a0-sysc.c b/drivers/pmdomain/renesas/r8a779a0-sysc.c
> index 04f1bc322ae7b671..54cdf250f7c2d143 100644
> --- a/drivers/pmdomain/renesas/r8a779a0-sysc.c
> +++ b/drivers/pmdomain/renesas/r8a779a0-sysc.c
> @@ -5,19 +5,7 @@
>   * Copyright (C) 2020 Renesas Electronics Corp.
>   */
>  
> -#include <linux/bits.h>
> -#include <linux/clk/renesas.h>
> -#include <linux/delay.h>
> -#include <linux/err.h>
> -#include <linux/io.h>
> -#include <linux/iopoll.h>
>  #include <linux/kernel.h>
> -#include <linux/mm.h>
> -#include <linux/of_address.h>
> -#include <linux/pm_domain.h>
> -#include <linux/slab.h>
> -#include <linux/spinlock.h>
> -#include <linux/types.h>
>  
>  #include <dt-bindings/power/r8a779a0-sysc.h>
>  
> diff --git a/drivers/pmdomain/renesas/r8a779f0-sysc.c b/drivers/pmdomain/renesas/r8a779f0-sysc.c
> index 5602aa6bd7ed1529..6ed13cd1cb249df5 100644
> --- a/drivers/pmdomain/renesas/r8a779f0-sysc.c
> +++ b/drivers/pmdomain/renesas/r8a779f0-sysc.c
> @@ -5,19 +5,7 @@
>   * Copyright (C) 2021 Renesas Electronics Corp.
>   */
>  
> -#include <linux/bits.h>
> -#include <linux/clk/renesas.h>
> -#include <linux/delay.h>
> -#include <linux/err.h>
> -#include <linux/io.h>
> -#include <linux/iopoll.h>
>  #include <linux/kernel.h>
> -#include <linux/mm.h>
> -#include <linux/of_address.h>
> -#include <linux/pm_domain.h>
> -#include <linux/slab.h>
> -#include <linux/spinlock.h>
> -#include <linux/types.h>
>  
>  #include <dt-bindings/power/r8a779f0-sysc.h>
>  
> diff --git a/drivers/pmdomain/renesas/r8a779g0-sysc.c b/drivers/pmdomain/renesas/r8a779g0-sysc.c
> index b932eba1b8042d8f..249cf43af45b6445 100644
> --- a/drivers/pmdomain/renesas/r8a779g0-sysc.c
> +++ b/drivers/pmdomain/renesas/r8a779g0-sysc.c
> @@ -5,19 +5,7 @@
>   * Copyright (C) 2022 Renesas Electronics Corp.
>   */
>  
> -#include <linux/bits.h>
> -#include <linux/clk/renesas.h>
> -#include <linux/delay.h>
> -#include <linux/err.h>
> -#include <linux/io.h>
> -#include <linux/iopoll.h>
>  #include <linux/kernel.h>
> -#include <linux/mm.h>
> -#include <linux/of_address.h>
> -#include <linux/pm_domain.h>
> -#include <linux/slab.h>
> -#include <linux/spinlock.h>
> -#include <linux/types.h>
>  
>  #include <dt-bindings/power/r8a779g0-sysc.h>
>  
> -- 
> 2.34.1
> 
>
diff mbox series

Patch

diff --git a/drivers/pmdomain/renesas/r8a779a0-sysc.c b/drivers/pmdomain/renesas/r8a779a0-sysc.c
index 04f1bc322ae7b671..54cdf250f7c2d143 100644
--- a/drivers/pmdomain/renesas/r8a779a0-sysc.c
+++ b/drivers/pmdomain/renesas/r8a779a0-sysc.c
@@ -5,19 +5,7 @@ 
  * Copyright (C) 2020 Renesas Electronics Corp.
  */
 
-#include <linux/bits.h>
-#include <linux/clk/renesas.h>
-#include <linux/delay.h>
-#include <linux/err.h>
-#include <linux/io.h>
-#include <linux/iopoll.h>
 #include <linux/kernel.h>
-#include <linux/mm.h>
-#include <linux/of_address.h>
-#include <linux/pm_domain.h>
-#include <linux/slab.h>
-#include <linux/spinlock.h>
-#include <linux/types.h>
 
 #include <dt-bindings/power/r8a779a0-sysc.h>
 
diff --git a/drivers/pmdomain/renesas/r8a779f0-sysc.c b/drivers/pmdomain/renesas/r8a779f0-sysc.c
index 5602aa6bd7ed1529..6ed13cd1cb249df5 100644
--- a/drivers/pmdomain/renesas/r8a779f0-sysc.c
+++ b/drivers/pmdomain/renesas/r8a779f0-sysc.c
@@ -5,19 +5,7 @@ 
  * Copyright (C) 2021 Renesas Electronics Corp.
  */
 
-#include <linux/bits.h>
-#include <linux/clk/renesas.h>
-#include <linux/delay.h>
-#include <linux/err.h>
-#include <linux/io.h>
-#include <linux/iopoll.h>
 #include <linux/kernel.h>
-#include <linux/mm.h>
-#include <linux/of_address.h>
-#include <linux/pm_domain.h>
-#include <linux/slab.h>
-#include <linux/spinlock.h>
-#include <linux/types.h>
 
 #include <dt-bindings/power/r8a779f0-sysc.h>
 
diff --git a/drivers/pmdomain/renesas/r8a779g0-sysc.c b/drivers/pmdomain/renesas/r8a779g0-sysc.c
index b932eba1b8042d8f..249cf43af45b6445 100644
--- a/drivers/pmdomain/renesas/r8a779g0-sysc.c
+++ b/drivers/pmdomain/renesas/r8a779g0-sysc.c
@@ -5,19 +5,7 @@ 
  * Copyright (C) 2022 Renesas Electronics Corp.
  */
 
-#include <linux/bits.h>
-#include <linux/clk/renesas.h>
-#include <linux/delay.h>
-#include <linux/err.h>
-#include <linux/io.h>
-#include <linux/iopoll.h>
 #include <linux/kernel.h>
-#include <linux/mm.h>
-#include <linux/of_address.h>
-#include <linux/pm_domain.h>
-#include <linux/slab.h>
-#include <linux/spinlock.h>
-#include <linux/types.h>
 
 #include <dt-bindings/power/r8a779g0-sysc.h>