Re: [PATCH] pinctrl: remove unused 'pwm37_pins'

From: Linus Walleij
Date: Tue Apr 28 2020 - 05:58:16 EST


On Fri, Apr 17, 2020 at 10:54 AM Jason Yan <yanaijie@xxxxxxxxxx> wrote:

> Fix the following gcc warning:
>
> drivers/pinctrl/pinctrl-bm1880.c:263:27: warning: âpwm37_pinsâ defined
> but not used [-Wunused-const-variable=]
> static const unsigned int pwm37_pins[] = { 110 };
> ^~~~~~~~~~
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

I'm sceptic about this. I think PWM37 exists and just need to be
properly defined.

Mani will know the right solution to this.

Yours,
Linus Walleij