mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:04:51 +01:00
spi: st: remove __maybe_unused for suspend/resume
Remove useless __maybe_unused statements for suspend and resume functions since this is now used via pm_ptr. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com> Link: https://patch.msgid.link/20260106-spi_st_maybe_unused_removal-v1-1-8f5ca7136e96@foss.st.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
9ace4753a5
commit
d4469e4ee5
1 changed files with 2 additions and 2 deletions
|
|
@ -403,7 +403,7 @@ static int spi_st_runtime_resume(struct device *dev)
|
|||
return ret;
|
||||
}
|
||||
|
||||
static int __maybe_unused spi_st_suspend(struct device *dev)
|
||||
static int spi_st_suspend(struct device *dev)
|
||||
{
|
||||
struct spi_controller *host = dev_get_drvdata(dev);
|
||||
int ret;
|
||||
|
|
@ -415,7 +415,7 @@ static int __maybe_unused spi_st_suspend(struct device *dev)
|
|||
return pm_runtime_force_suspend(dev);
|
||||
}
|
||||
|
||||
static int __maybe_unused spi_st_resume(struct device *dev)
|
||||
static int spi_st_resume(struct device *dev)
|
||||
{
|
||||
struct spi_controller *host = dev_get_drvdata(dev);
|
||||
int ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue