at91: 6.1: import patch to fix pinctrl unused function warning
authorNick Hainke <vincent@systemli.org>
Fri, 19 Apr 2024 05:05:48 +0000 (07:05 +0200)
committerNick Hainke <vincent@systemli.org>
Mon, 22 Apr 2024 07:51:14 +0000 (09:51 +0200)
commitb3145f3526f2b582f097d33e05998adb841580be
treed20f37b046574be55a19e42729727d8f040faf64
parentdb2c9072600176e3fcd34a7632bfd864bc808502
at91: 6.1: import patch to fix pinctrl unused function warning

Fixes error in the form of [0]:
  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)
        |            ^~~~~~~~~~~~~~~~~

[0] - https://lore.kernel.org/all/20221215164301.934805-1-arnd@kernel.org/

Signed-off-by: Nick Hainke <vincent@systemli.org>
target/linux/at91/patches-6.1/0001-v6.3-pinctrl-at91-convert-to-NOIRQ_SYSTEM_SLEEP_PM_OPS.patch [new file with mode: 0644]