[PATCH] pinctrl: at91: convert to NOIRQ_SYSTEM_SLEEP_PM_OPS

Linus Walleij linus.walleij at linaro.org
Wed Dec 28 17:11:04 PST 2022


On Thu, Dec 15, 2022 at 5:43 PM Arnd Bergmann <arnd at kernel.org> wrote:

> From: Arnd Bergmann <arnd at arndb.de>
>
> With the old SET_NOIRQ_SYSTEM_SLEEP_PM_OPS, some configs result in a
> build warning:
>
> drivers/pinctrl/pinctrl-at91.c:1668:12: error: 'at91_gpio_resume' defined but not used [-Werror=unused-function]
>  1668 | static int at91_gpio_resume(struct device *dev)
>       |            ^~~~~~~~~~~~~~~~
> drivers/pinctrl/pinctrl-at91.c:1650:12: error: 'at91_gpio_suspend' defined but not used [-Werror=unused-function]
>  1650 | static int at91_gpio_suspend(struct device *dev)
>       |            ^~~~~~~~~~~~~~~~~
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Patch applied!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list