[PATCH u-boot-marvell 2/3] arm64: a37xx: pinctrl: Remove unused macro PIN_GRP()

Stefan Roese sr at denx.de
Tue Aug 9 13:35:46 CEST 2022


On 04.08.22 12:41, Pali Rohár wrote:
> Macro PIN_GRP() is not used, remove it.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>

Applied to u-boot-marvell/master

Thanks,
Stefan

> ---
>   drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 10 ----------
>   1 file changed, 10 deletions(-)
> 
> diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
> index a5407a16ee36..32b49f167c66 100644
> --- a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
> +++ b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
> @@ -99,16 +99,6 @@ struct armada_37xx_pinctrl {
>   	unsigned int			nfuncs;
>   };
>   
> -#define PIN_GRP(_name, _start, _nr, _mask, _func1, _func2)	\
> -	{					\
> -		.name = _name,			\
> -		.start_pin = _start,		\
> -		.npins = _nr,			\
> -		.reg_mask = _mask,		\
> -		.val = {0, _mask},		\
> -		.funcs = {_func1, _func2}	\
> -	}
> -
>   #define PIN_GRP_GPIO_0(_name, _start, _nr)	\
>   	{					\
>   		.name = _name,			\

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list