diff mbox series

[04/12] pinctrl: renesas: r8a7778: Remove unused PORT_GP_PUP_1() macro

Message ID 129147ac57f5e931cc7108db0a6483b803a1b8f4.1619785375.git.geert+renesas@glider.be
State Accepted
Commit cf04bbe5ed29cb7b3205bebfd8f4e747359d2cd9
Headers show
Series None | expand

Commit Message

Geert Uytterhoeven April 30, 2021, 12:31 p.m. UTC
The last user was removed in commit dd1f760bffcee2c5 ("pinctrl: sh-pfc:
r8a7778: Use common PORT_GP_CFG_27() macro").

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/pinctrl/renesas/pfc-r8a7778.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Niklas Söderlund May 1, 2021, 7:36 a.m. UTC | #1
Hi Geert,

Thanks for your patch.

On 2021-04-30 14:31:03 +0200, Geert Uytterhoeven wrote:
> The last user was removed in commit dd1f760bffcee2c5 ("pinctrl: sh-pfc:

> r8a7778: Use common PORT_GP_CFG_27() macro").

> 

> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>


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


> ---

>  drivers/pinctrl/renesas/pfc-r8a7778.c | 3 ---

>  1 file changed, 3 deletions(-)

> 

> diff --git a/drivers/pinctrl/renesas/pfc-r8a7778.c b/drivers/pinctrl/renesas/pfc-r8a7778.c

> index 6185af9c499006e7..d641e408f1bd413c 100644

> --- a/drivers/pinctrl/renesas/pfc-r8a7778.c

> +++ b/drivers/pinctrl/renesas/pfc-r8a7778.c

> @@ -18,9 +18,6 @@

>  

>  #include "sh_pfc.h"

>  

> -#define PORT_GP_PUP_1(bank, pin, fn, sfx)	\

> -	PORT_GP_CFG_1(bank, pin, fn, sfx, SH_PFC_PIN_CFG_PULL_UP)

> -

>  #define CPU_ALL_GP(fn, sfx)		\

>  	PORT_GP_CFG_32(0, fn, sfx, SH_PFC_PIN_CFG_PULL_UP),		\

>  	PORT_GP_CFG_32(1, fn, sfx, SH_PFC_PIN_CFG_PULL_UP),		\

> -- 

> 2.25.1

> 


-- 
Regards,
Niklas Söderlund
diff mbox series

Patch

diff --git a/drivers/pinctrl/renesas/pfc-r8a7778.c b/drivers/pinctrl/renesas/pfc-r8a7778.c
index 6185af9c499006e7..d641e408f1bd413c 100644
--- a/drivers/pinctrl/renesas/pfc-r8a7778.c
+++ b/drivers/pinctrl/renesas/pfc-r8a7778.c
@@ -18,9 +18,6 @@ 
 
 #include "sh_pfc.h"
 
-#define PORT_GP_PUP_1(bank, pin, fn, sfx)	\
-	PORT_GP_CFG_1(bank, pin, fn, sfx, SH_PFC_PIN_CFG_PULL_UP)
-
 #define CPU_ALL_GP(fn, sfx)		\
 	PORT_GP_CFG_32(0, fn, sfx, SH_PFC_PIN_CFG_PULL_UP),		\
 	PORT_GP_CFG_32(1, fn, sfx, SH_PFC_PIN_CFG_PULL_UP),		\