]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: stm32: avoid __maybe_unused and use pm_ptr
authorAlain Volmat <alain.volmat@foss.st.com>
Tue, 6 Jan 2026 12:14:20 +0000 (13:14 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 6 Jan 2026 12:23:39 +0000 (12:23 +0000)
commit75d208bddcca55ec31481420fbb4d6c9703ba195
tree8131f1a049a203d1403912f3af802629fb98e80d
parent10a6d7507791a667fe1d327056ac3f72934cc7de
spi: stm32: 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-4-8f5ca7136e96@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32.c