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