]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: stm32-qspi: avoid __maybe_unused and use pm_ptr
authorAlain Volmat <alain.volmat@foss.st.com>
Tue, 6 Jan 2026 12:14:19 +0000 (13:14 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 6 Jan 2026 12:23:38 +0000 (12:23 +0000)
commit10a6d7507791a667fe1d327056ac3f72934cc7de
tree8abd818cfa7037560579d1f3952c10b48642f418
parent2a2d7187f5a7238582c2bbd4a6da7595c20e55a9
spi: stm32-qspi: avoid __maybe_unused and use pm_ptr

Switch to usage of pm_ptr / SYSTEM_SLEEP_PM_OPS / RUNTIME_PM_OPS
in order to avoid having to mark the pm related functions as
__maybe_unused.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Link: https://patch.msgid.link/20260106-spi_st_maybe_unused_removal-v1-3-8f5ca7136e96@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32-qspi.c