[PATCH 0/4] drivers: spi: st: use pm_ptr and remove __maybe_unused

From: Alain Volmat

Date: Tue Jan 06 2026 - 07:15:01 EST


Update ST related SPI drivers in order to remove the __maybe_unused
statements on pm related functions thanks to the usage of pm_ptr.

Signed-off-by: Alain Volmat <alain.volmat@xxxxxxxxxxx>
---
Alain Volmat (4):
drivers: spi: st: remove __maybe_unused for suspend/resume
drivers: spi: stm32-ospi: avoid __maybe_unused and use pm_ptr
drivers: spi: stm32-qspi: avoid __maybe_unused and use pm_ptr
drivers: spi: stm32: avoid __maybe_unused and use pm_ptr

drivers/spi/spi-st-ssc4.c | 4 ++--
drivers/spi/spi-stm32-ospi.c | 15 +++++++--------
drivers/spi/spi-stm32-qspi.c | 15 +++++++--------
drivers/spi/spi-stm32.c | 15 +++++++--------
4 files changed, 23 insertions(+), 26 deletions(-)
---
base-commit: 167a75dbc73d41199d0782e629adc1ff2acacdef
change-id: 20260105-spi_st_maybe_unused_removal-7d75225bca4a

Best regards,
--
Alain Volmat <alain.volmat@xxxxxxxxxxx>