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

Alain Volmat posted 4 patches 1 month ago
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(-)
[PATCH 0/4] drivers: spi: st: use pm_ptr and remove __maybe_unused
Posted by Alain Volmat 1 month ago
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@foss.st.com>
---
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@foss.st.com>
Re: [PATCH 0/4] drivers: spi: st: use pm_ptr and remove __maybe_unused
Posted by Mark Brown 1 month ago
On Tue, 06 Jan 2026 13:14:16 +0100, Alain Volmat wrote:
> Update ST related SPI drivers in order to remove the __maybe_unused
> statements on pm related functions thanks to the usage of pm_ptr.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/4] drivers: spi: st: remove __maybe_unused for suspend/resume
      commit: d4469e4ee5da0a93eabfcb89a8c6ecdf7cf1e9be
[2/4] drivers: spi: stm32-ospi: avoid __maybe_unused and use pm_ptr
      commit: 2a2d7187f5a7238582c2bbd4a6da7595c20e55a9
[3/4] drivers: spi: stm32-qspi: avoid __maybe_unused and use pm_ptr
      commit: 10a6d7507791a667fe1d327056ac3f72934cc7de
[4/4] drivers: spi: stm32: avoid __maybe_unused and use pm_ptr
      commit: 75d208bddcca55ec31481420fbb4d6c9703ba195

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
Re: [PATCH 0/4] drivers: spi: st: use pm_ptr and remove __maybe_unused
Posted by Mark Brown 1 month ago
On Tue, Jan 06, 2026 at 01:14:16PM +0100, Alain Volmat wrote:
> Update ST related SPI drivers in order to remove the __maybe_unused
> statements on pm related functions thanks to the usage of pm_ptr.

Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.
Re: [PATCH 0/4] drivers: spi: st: use pm_ptr and remove __maybe_unused
Posted by Alain Volmat 1 month ago
Hi Mark,

On Tue, Jan 06, 2026 at 12:22:21PM +0000, Mark Brown wrote:
> On Tue, Jan 06, 2026 at 01:14:16PM +0100, Alain Volmat wrote:
> > Update ST related SPI drivers in order to remove the __maybe_unused
> > statements on pm related functions thanks to the usage of pm_ptr.
> 
> Please submit patches using subject lines reflecting the style for the
> subsystem, this makes it easier for people to identify relevant patches.
> Look at what existing commits in the area you're changing are doing and
> make sure your subject lines visually resemble what they're doing.
> There's no need to resubmit to fix this alone.

oups, sorry I missed that indeed. Thanks for your help for this issue.

Regards,

Alain