[PATCH 2/3] pinctrl: renesas: Drop include common.h

Paul Barker paul.barker.ct at bp.renesas.com
Tue Jan 23 10:28:02 CET 2024


On 21/01/2024 17:31, Marek Vasut wrote:
> The header file is not necessary in either of those files,
> remove it as common.h is going away.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> ---
> Cc: Paul Barker <paul.barker.ct at bp.renesas.com>
> ---
>  drivers/pinctrl/renesas/pfc-r8a7790.c  | 1 -
>  drivers/pinctrl/renesas/pfc-r8a7791.c  | 1 -
>  drivers/pinctrl/renesas/pfc-r8a7792.c  | 1 -
>  drivers/pinctrl/renesas/pfc-r8a7794.c  | 1 -
>  drivers/pinctrl/renesas/pfc-r8a77951.c | 1 -
>  drivers/pinctrl/renesas/pfc-r8a7796.c  | 1 -
>  drivers/pinctrl/renesas/pfc-r8a77965.c | 1 -
>  drivers/pinctrl/renesas/pfc-r8a77970.c | 1 -
>  drivers/pinctrl/renesas/pfc-r8a77980.c | 1 -
>  drivers/pinctrl/renesas/pfc-r8a77990.c | 1 -
>  drivers/pinctrl/renesas/pfc-r8a77995.c | 1 -
>  drivers/pinctrl/renesas/pfc-r8a779a0.c | 1 -
>  drivers/pinctrl/renesas/pfc-r8a779f0.c | 1 -
>  drivers/pinctrl/renesas/pfc-r8a779g0.c | 1 -
>  drivers/pinctrl/renesas/pfc.c          | 1 -
>  drivers/pinctrl/renesas/pinctrl-rza1.c | 1 -
>  16 files changed, 16 deletions(-)
> 
> diff --git a/drivers/pinctrl/renesas/pfc-r8a7790.c b/drivers/pinctrl/renesas/pfc-r8a7790.c
> index 7203648bbc8..e1811c4c908 100644
> --- a/drivers/pinctrl/renesas/pfc-r8a7790.c
> +++ b/drivers/pinctrl/renesas/pfc-r8a7790.c
> @@ -8,7 +8,6 @@
>   * Copyright (C) 2012  Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/pinctrl.h>
> diff --git a/drivers/pinctrl/renesas/pfc-r8a7791.c b/drivers/pinctrl/renesas/pfc-r8a7791.c
> index b25453ed285..fa94a51e5e7 100644
> --- a/drivers/pinctrl/renesas/pfc-r8a7791.c
> +++ b/drivers/pinctrl/renesas/pfc-r8a7791.c
> @@ -6,7 +6,6 @@
>   * Copyright (C) 2014-2017 Cogent Embedded, Inc.
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/pinctrl.h>
> diff --git a/drivers/pinctrl/renesas/pfc-r8a7792.c b/drivers/pinctrl/renesas/pfc-r8a7792.c
> index 08f1f97af6e..7c1e6d40749 100644
> --- a/drivers/pinctrl/renesas/pfc-r8a7792.c
> +++ b/drivers/pinctrl/renesas/pfc-r8a7792.c
> @@ -6,7 +6,6 @@
>   * Copyright (C) 2016 Cogent Embedded, Inc., <source at cogentembedded.com>
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/pinctrl.h>
> diff --git a/drivers/pinctrl/renesas/pfc-r8a7794.c b/drivers/pinctrl/renesas/pfc-r8a7794.c
> index e5d125ceca0..29eab2610c1 100644
> --- a/drivers/pinctrl/renesas/pfc-r8a7794.c
> +++ b/drivers/pinctrl/renesas/pfc-r8a7794.c
> @@ -7,7 +7,6 @@
>   * Copyright (C) 2015-2017 Cogent Embedded, Inc. <source at cogentembedded.com>
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/pinctrl.h>
> diff --git a/drivers/pinctrl/renesas/pfc-r8a77951.c b/drivers/pinctrl/renesas/pfc-r8a77951.c
> index 5d1c81c3eae..81568ae4a5e 100644
> --- a/drivers/pinctrl/renesas/pfc-r8a77951.c
> +++ b/drivers/pinctrl/renesas/pfc-r8a77951.c
> @@ -5,7 +5,6 @@
>   * Copyright (C) 2015-2019 Renesas Electronics Corporation
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/pinctrl.h>
> diff --git a/drivers/pinctrl/renesas/pfc-r8a7796.c b/drivers/pinctrl/renesas/pfc-r8a7796.c
> index 163d1805dfb..3de43febbd3 100644
> --- a/drivers/pinctrl/renesas/pfc-r8a7796.c
> +++ b/drivers/pinctrl/renesas/pfc-r8a7796.c
> @@ -11,7 +11,6 @@
>   * Copyright (C) 2015  Renesas Electronics Corporation
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/pinctrl.h>
> diff --git a/drivers/pinctrl/renesas/pfc-r8a77965.c b/drivers/pinctrl/renesas/pfc-r8a77965.c
> index 377143d3918..3a6813cee61 100644
> --- a/drivers/pinctrl/renesas/pfc-r8a77965.c
> +++ b/drivers/pinctrl/renesas/pfc-r8a77965.c
> @@ -12,7 +12,6 @@
>   * Copyright (C) 2015  Renesas Electronics Corporation
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/pinctrl.h>
> diff --git a/drivers/pinctrl/renesas/pfc-r8a77970.c b/drivers/pinctrl/renesas/pfc-r8a77970.c
> index 1cc6fa4f3fc..3c9c060d245 100644
> --- a/drivers/pinctrl/renesas/pfc-r8a77970.c
> +++ b/drivers/pinctrl/renesas/pfc-r8a77970.c
> @@ -12,7 +12,6 @@
>   * Copyright (C) 2015  Renesas Electronics Corporation
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/pinctrl.h>
> diff --git a/drivers/pinctrl/renesas/pfc-r8a77980.c b/drivers/pinctrl/renesas/pfc-r8a77980.c
> index 523faa0ac8f..14a4b4dc731 100644
> --- a/drivers/pinctrl/renesas/pfc-r8a77980.c
> +++ b/drivers/pinctrl/renesas/pfc-r8a77980.c
> @@ -12,7 +12,6 @@
>   * Copyright (C) 2015 Renesas Electronics Corporation
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/pinctrl.h>
> diff --git a/drivers/pinctrl/renesas/pfc-r8a77990.c b/drivers/pinctrl/renesas/pfc-r8a77990.c
> index 215a19ef9cd..e3a9c5e053d 100644
> --- a/drivers/pinctrl/renesas/pfc-r8a77990.c
> +++ b/drivers/pinctrl/renesas/pfc-r8a77990.c
> @@ -11,7 +11,6 @@
>   * Copyright (C) 2016-2017 Renesas Electronics Corp.
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/pinctrl.h>
> diff --git a/drivers/pinctrl/renesas/pfc-r8a77995.c b/drivers/pinctrl/renesas/pfc-r8a77995.c
> index c0d69937ddb..eccf5c15907 100644
> --- a/drivers/pinctrl/renesas/pfc-r8a77995.c
> +++ b/drivers/pinctrl/renesas/pfc-r8a77995.c
> @@ -11,7 +11,6 @@
>   * Copyright (C) 2015  Renesas Electronics Corporation
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/pinctrl.h>
> diff --git a/drivers/pinctrl/renesas/pfc-r8a779a0.c b/drivers/pinctrl/renesas/pfc-r8a779a0.c
> index 3c4b03b1b4c..6f898385027 100644
> --- a/drivers/pinctrl/renesas/pfc-r8a779a0.c
> +++ b/drivers/pinctrl/renesas/pfc-r8a779a0.c
> @@ -7,7 +7,6 @@
>   * This file is based on the drivers/pinctrl/renesas/pfc-r8a7795.c
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/pinctrl.h>
> diff --git a/drivers/pinctrl/renesas/pfc-r8a779f0.c b/drivers/pinctrl/renesas/pfc-r8a779f0.c
> index 5123e26e0ac..de5ec6c812a 100644
> --- a/drivers/pinctrl/renesas/pfc-r8a779f0.c
> +++ b/drivers/pinctrl/renesas/pfc-r8a779f0.c
> @@ -7,7 +7,6 @@
>   * This file is based on the drivers/pinctrl/renesas/pfc-r8a779a0.c
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/pinctrl.h>
> diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c
> index 20498a1c2f7..6749c15f4ea 100644
> --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c
> +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c
> @@ -7,7 +7,6 @@
>   * This file is based on the drivers/pinctrl/renesas/pfc-r8a779a0.c
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/pinctrl.h>
> diff --git a/drivers/pinctrl/renesas/pfc.c b/drivers/pinctrl/renesas/pfc.c
> index 3ac25cbd080..4ceb5db47ff 100644
> --- a/drivers/pinctrl/renesas/pfc.c
> +++ b/drivers/pinctrl/renesas/pfc.c
> @@ -11,7 +11,6 @@
>  
>  #define DRV_NAME "sh-pfc"
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <errno.h>
>  #include <dm/device_compat.h>
> diff --git a/drivers/pinctrl/renesas/pinctrl-rza1.c b/drivers/pinctrl/renesas/pinctrl-rza1.c
> index a445cdba713..2d993be2b2a 100644
> --- a/drivers/pinctrl/renesas/pinctrl-rza1.c
> +++ b/drivers/pinctrl/renesas/pinctrl-rza1.c
> @@ -5,7 +5,6 @@
>   * Copyright (C) 2019 Marek Vasut <marek.vasut at gmail.com>
>   */
>  
> -#include <common.h>
>  #include <dm.h>
>  #include <asm/global_data.h>
>  #include <dm/lists.h>

Reviewed-by: Paul Barker <paul.barker.ct at bp.renesas.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x27F4B3459F002257.asc
Type: application/pgp-keys
Size: 3520 bytes
Desc: OpenPGP public key
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240123/f3bdb415/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240123/f3bdb415/attachment.sig>


More information about the U-Boot mailing list