Re: [PATCH] gpio: pxa: remove unused gpio_is_pxa_type function

From: Linus Walleij
Date: Sun Mar 19 2023 - 17:18:06 EST


On Sun, Mar 19, 2023 at 3:36 PM Tom Rix <trix@xxxxxxxxxx> wrote:

> clang with W=1 reports
> drivers/gpio/gpio-pxa.c:174:19: error: unused function
> 'gpio_is_pxa_type' [-Werror,-Wunused-function]
> static inline int gpio_is_pxa_type(int type)
> ^
> This function is not used, so remove it.
>
> Signed-off-by: Tom Rix <trix@xxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij