Re: [PATCH] pinctrl: bcm: Remove unused struct bcm6328_pingroup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 27, 2022 at 01:39:26PM +0000, Yuan Can wrote:
> After commit 0e3db16300fb("pinctrl: bcm: Convert drivers to use struct pingroup
> and PINCTRL_PINGROUP()"), no one use struct bcm6328_pingroup, so remove it.

Right, dunno how I missed it.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

> Signed-off-by: Yuan Can <yuancan@xxxxxxxxxx>
> ---
>  drivers/pinctrl/bcm/pinctrl-bcm6328.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/drivers/pinctrl/bcm/pinctrl-bcm6328.c b/drivers/pinctrl/bcm/pinctrl-bcm6328.c
> index 1eef5ab9a5e5..1e8cc2c80c81 100644
> --- a/drivers/pinctrl/bcm/pinctrl-bcm6328.c
> +++ b/drivers/pinctrl/bcm/pinctrl-bcm6328.c
> @@ -26,12 +26,6 @@
>  #define BCM6328_MUX_OTHER_REG	0x24
>  #define  BCM6328_MUX_MASK	GENMASK(1, 0)
>  
> -struct bcm6328_pingroup {
> -	const char *name;
> -	const unsigned * const pins;
> -	const unsigned num_pins;
> -};
> -
>  struct bcm6328_function {
>  	const char *name;
>  	const char * const *groups;
> -- 
> 2.17.1
> 

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux