diff mbox series

pinctrl: bcm: Remove unused struct bcm6328_pingroup

Message ID 20220927133926.103943-1-yuancan@huawei.com
State New
Headers show
Series pinctrl: bcm: Remove unused struct bcm6328_pingroup | expand

Commit Message

Yuan Can Sept. 27, 2022, 1:39 p.m. UTC
After commit 0e3db16300fb("pinctrl: bcm: Convert drivers to use struct pingroup
and PINCTRL_PINGROUP()"), no one use struct bcm6328_pingroup, so remove it.

Signed-off-by: Yuan Can <yuancan@huawei.com>
---
 drivers/pinctrl/bcm/pinctrl-bcm6328.c | 6 ------
 1 file changed, 6 deletions(-)

Comments

Andy Shevchenko Sept. 27, 2022, 1:50 p.m. UTC | #1
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@linux.intel.com>

> Signed-off-by: Yuan Can <yuancan@huawei.com>
> ---
>  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
>
Linus Walleij Oct. 4, 2022, 7:39 a.m. UTC | #2
On Tue, Sep 27, 2022 at 3:42 PM Yuan Can <yuancan@huawei.com> wrote:

> After commit 0e3db16300fb("pinctrl: bcm: Convert drivers to use struct pingroup
> and PINCTRL_PINGROUP()"), no one use struct bcm6328_pingroup, so remove it.
>
> Signed-off-by: Yuan Can <yuancan@huawei.com>

Patch applied!

Yours,
Linus Walleij
diff mbox series

Patch

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;