]> Gentwo Git Trees - linux/.git/commit
gpio: tqmx86: Use modern PM macros
authorJisheng Zhang <jszhang@kernel.org>
Mon, 24 Nov 2025 00:21:01 +0000 (08:21 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 25 Nov 2025 13:10:07 +0000 (14:10 +0100)
commit75ff16234bf3af747b9c77b81d7ce3df5c09df8c
treede88d00438db95ba7814ff81ff740c099a5448db
parent0ed358a87d6ef9782dca161ef3f1311d21f257d2
gpio: tqmx86: Use modern PM macros

Use the modern PM macros for the suspend and resume functions to be
automatically dropped by the compiler when CONFIG_PM or
CONFIG_PM_SLEEP are disabled, without having to use __maybe_unused

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20251124002105.25429-11-jszhang@kernel.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-tqmx86.c