Messages in this thread | | | From | Linus Walleij <> | Date | Thu, 29 Dec 2022 02:11:04 +0100 | Subject | Re: [PATCH] pinctrl: at91: convert to NOIRQ_SYSTEM_SLEEP_PM_OPS |
| |
On Thu, Dec 15, 2022 at 5:43 PM Arnd Bergmann <arnd@kernel.org> wrote:
> From: Arnd Bergmann <arnd@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@arndb.de>
Patch applied!
Yours, Linus Walleij
| |